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/makesdna | |
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/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index f11374dff99..dc5a0b20b17 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -87,7 +87,7 @@ typedef struct Panel { /* the part from uiBlock that needs saved in file */ short flag, active; /* active= used currently by a uiBlock */ short control, pad; short old_ofsx, old_ofsy; /* for stow */ - int pad2; + int sortcounter; /* when sorting panels, it uses this to put new ones in right place */ struct Panel *paneltab; /* this panel is tabbed in *paneltab */ } Panel; |