diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-15 00:13:51 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-15 00:13:51 +0400 |
commit | 9b343a9f7602ccdf2401c3de50220f8c0fe76753 (patch) | |
tree | 00da27932aa6f8b751d8f5d6647b90b50846566d /source/blender/blenloader | |
parent | 5466b634632ea73e8a37d5f05e9f6b124a8774c3 (diff) |
- cleared a flag in reading Panels back, could cause errors...
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 5ee56d80052..0568d0c837b 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2531,7 +2531,10 @@ static void direct_link_screen(FileData *fd, bScreen *sc) link_list(fd, &(sa->spacedata)); link_list(fd, &(sa->panels)); - for(pa= sa->panels.first; pa; pa=pa->next) pa->paneltab= newdataadr(fd, pa->paneltab); + for(pa= sa->panels.first; pa; pa=pa->next) { + pa->paneltab= newdataadr(fd, pa->paneltab); + pa->active= 0; + } for (sl= sa->spacedata.first; sl; sl= sl->next) { if (sl->spacetype==SPACE_VIEW3D) { |