Depricated Image Select window, so it doesnt crash :)

This commit is contained in:
Ton Roosendaal
2008-12-15 19:29:53 +00:00
parent 6283b0c8c5
commit 98d710bd16
2 changed files with 6 additions and 1 deletions

View File

@@ -5211,6 +5211,12 @@ static void do_versions_windowmanager_2_50(bScreen *screen)
area_add_window_regions(sa, sa->spacedata.first, &sa->regionbase); area_add_window_regions(sa, sa->spacedata.first, &sa->regionbase);
/* space imageselect is depricated */
for(sl= sa->spacedata.first; sl; sl= sl->next) {
if(sl->spacetype==SPACE_IMASEL)
sl->spacetype= SPACE_INFO; /* spacedata then matches */
}
/* pushed back spaces also need regions! */ /* pushed back spaces also need regions! */
if(sa->spacedata.first) { if(sa->spacedata.first) {
sl= sa->spacedata.first; sl= sa->spacedata.first;

View File

@@ -578,7 +578,6 @@ static char *windowtype_pup(void)
"|Node Editor %x16" "|Node Editor %x16"
"|%l" //254 "|%l" //254
"|Image Browser %x10" //273
"|File Browser %x5" //290 "|File Browser %x5" //290
"|%l" //293 "|%l" //293