Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2007-12-29 19:42:39 +0300
committerTon Roosendaal <ton@blender.org>2007-12-29 19:42:39 +0300
commitb2b5bb55a37762b166e0a4c77fad608688ed69e5 (patch)
treea1d06528bfa7463058098b799b1fd3a2bad61bed
parent97f144b5ff2ec803b67d6aa2065cd7240e7c6e99 (diff)
Crash on startup fix
-rw-r--r--source/blender/windowmanager/intern/wm_files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 20539e15bc0..a32a553bc46 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -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) {