diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-17 15:59:25 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-17 15:59:25 +0400 |
commit | 0db7c6810628156a05c4df6b640936aa34b95428 (patch) | |
tree | 2ef0e5123949b79489e5e347bcff549c76d150c1 /source/blender/makesdna | |
parent | 7cb8b3910d901ca03d675673728b22fe647e6838 (diff) |
UI:
* Forgot to finish this code yesterday, dragging panels was
broken. This is fixed and new panels are now inserted after
the last added one, inbetween others rather than at the end.
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 89532ad13b4..981d4aa4bb2 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -99,7 +99,7 @@ typedef struct Panel { /* the part from uiBlock that needs saved in file */ short flag, runtime_flag; short control; short snap; - int sortcounter, pad; /* when sorting panels, it uses this to put new ones in right place */ + int sortorder, pad; /* panels are aligned according to increasing sortorder */ struct Panel *paneltab; /* this panel is tabbed in *paneltab */ void *activedata; /* runtime for panel manipulation */ } Panel; |