diff options
author | Ton Roosendaal <ton@blender.org> | 2004-12-01 15:39:14 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-12-01 15:39:14 +0300 |
commit | d7c8ff725afa8748b2443e18ff2aba359afe022f (patch) | |
tree | 7f604506c391d3989ab21ec8306c7848c8776e8e /source/blender/blenloader | |
parent | 10e64fe4b4ad42209d6a01155b0d3ad2d6e5dda3 (diff) |
Bug #1909
When choosing "render engine" in Scene Buttons, the newly added or removed
Panels didn't invoke a re-alignment event yet.
Also added code that inserts new panels as good as possible on their
previous locations. This works reliable for 1 new panel, not for more, this
because a Panel only stores its old location, not the locations of all
Panels in a given configuration. Consider that minor issue...
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 97e7828a91c..18c70b0586b 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2885,6 +2885,7 @@ static void direct_link_screen(FileData *fd, bScreen *sc) for(pa= sa->panels.first; pa; pa=pa->next) { pa->paneltab= newdataadr(fd, pa->paneltab); pa->active= 0; + pa->sortcounter= 0; } for (sl= sa->spacedata.first; sl; sl= sl->next) { |