Crash on startup fix
authorTon Roosendaal <ton@blender.org>
Sat, 29 Dec 2007 16:42:39 +0000 (16:42 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 29 Dec 2007 16:42:39 +0000 (16:42 +0000)
source/blender/windowmanager/intern/wm_files.c

index 20539e15bc0d01211247df5e6d6b4ed27820ff60..a32a553bc466e3385bd4ea0ea60dc34e65d71c25 100644 (file)
@@ -537,6 +537,7 @@ static void outliner_242_patch(void)
 {
        ScrArea *sa;
        
+// XXX if(G.curscreen==NULL) return;
        for(sa= G.curscreen->areabase.first; sa; sa= sa->next) {
                SpaceLink *sl= sa->spacedata.first;
                for(; sl; sl= sl->next) {