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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-04-17 15:59:25 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-04-17 15:59:25 +0400
commit0db7c6810628156a05c4df6b640936aa34b95428 (patch)
tree2ef0e5123949b79489e5e347bcff549c76d150c1 /source/blender/makesdna/DNA_screen_types.h
parent7cb8b3910d901ca03d675673728b22fe647e6838 (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/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h2
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;