UI: various panels fixes.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 2 Apr 2009 01:39:33 +0000 (01:39 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 2 Apr 2009 01:39:33 +0000 (01:39 +0000)
commit4bb41c3dcdd029db63435e83700520070703a9bc
tree1253f9881b1a4853778fa52d3207c56cefeeed8b
parentecdd332021dcafdec69525a5140c1f43e1dc434a
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.
source/blender/editors/include/UI_interface.h
source/blender/editors/interface/interface_layout.c
source/blender/editors/interface/interface_panel.c
source/blender/editors/interface/view2d.c
source/blender/editors/space_buttons/buttons_header.c
source/blender/editors/space_buttons/space_buttons.c
source/blender/editors/space_graph/graph_buttons.c
source/blender/editors/space_image/image_panels.c
source/blender/editors/space_view3d/view3d_buttons.c
source/blender/python/intern/bpy_ui.c