diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-15 22:29:53 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-15 22:29:53 +0300 |
commit | 98d710bd16c7aa3885c0d699594098c9b8f47ab4 (patch) | |
tree | 3d72660a85fd3288b53c0ab2bcf4ec9efc6c2862 | |
parent | 6283b0c8c5a93baafa040c612ed356472b633582 (diff) |
Depricated Image Select window, so it doesnt crash :)
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 | ||||
-rw-r--r-- | source/blender/editors/screen/area.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 5fd6b1fe1a6..77380ce6925 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -5211,6 +5211,12 @@ static void do_versions_windowmanager_2_50(bScreen *screen) 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! */ if(sa->spacedata.first) { sl= sa->spacedata.first; diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index fb1390b82dd..1e8eb92aa30 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -578,7 +578,6 @@ static char *windowtype_pup(void) "|Node Editor %x16" "|%l" //254 - "|Image Browser %x10" //273 "|File Browser %x5" //290 "|%l" //293 |