Depricated Image Select window, so it doesnt crash :)
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user