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>2006-12-12 17:05:44 +0300
committerTon Roosendaal <ton@blender.org>2006-12-12 17:05:44 +0300
commit925caea404027084ed6293f217e5642a1c4327d4 (patch)
tree0fdbb0b4ff388afb095dc55cdaca3f2ed876a970 /source/blender/blenloader
parent87e67afd9b25b928cfd4680a078bf998540b0c4b (diff)
Argh, bugfix to survive non-existing window types made top bar go
away.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 3bd3999b3ae..e593036725d 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3679,7 +3679,7 @@ static void direct_link_screen(FileData *fd, bScreen *sc)
link_list(fd, &(sa->panels));
/* accident can happen when read/save new file with older version */
- if(sa->spacedata.first==NULL)
+ if(sa->spacedata.first==NULL && sa->spacetype>SPACE_NLA)
sa->spacetype= SPACE_EMPTY;
for(pa= sa->panels.first; pa; pa=pa->next) {