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-02 05:39:33 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-04-02 05:39:33 +0400
commit4bb41c3dcdd029db63435e83700520070703a9bc (patch)
tree1253f9881b1a4853778fa52d3207c56cefeeed8b /source/blender/editors/space_buttons/buttons_header.c
parentecdd332021dcafdec69525a5140c1f43e1dc434a (diff)
UI: various panels fixes.
* Fix sometimes non-working close/open button. * Fix panels being a bit out of the view on startup. * Fix too large totrct region for view2d. * Fix wrong panel order when changing vertical <-> horizontal. * Fix wrong panel positions after switching contexts. * Fix an access of freed memory when collapsing panels. * Free align mode works again. * Animations work again.
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_header.c')
-rw-r--r--source/blender/editors/space_buttons/buttons_header.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_buttons/buttons_header.c b/source/blender/editors/space_buttons/buttons_header.c
index 40e3564e69b..29374d7cb32 100644
--- a/source/blender/editors/space_buttons/buttons_header.c
+++ b/source/blender/editors/space_buttons/buttons_header.c
@@ -70,10 +70,8 @@ static void do_viewmenu(bContext *C, void *arg, int event)
case 1:
case 2:
sbuts->align= event;
- if(event) {
+ if(sbuts->align)
sbuts->re_align= 1;
- // uiAlignPanelStep(sa, 1.0);
- }
break;
}