Blender Git Loki

Git Commits -> Revision 38b6f8f

Revision 38b6f8f by Brecht Van Lommel (master)
April 16, 2009, 21:39 (GMT)
UI:
* For new buttons spaces, automatically set horizontal/vertical
align depending on size, instead of free.

* Cleaned up the UI panel API. There's now a new uiBeginPanel
function which takes a panel type, and a uiEndPanel which takes
the final size. uiNewPanel* functions will be phased out.
* Animate the re-alignment when a panel size changes, e.g. when
enabling dupliframes.

* Load ui scripts from the release/ folder first if it is
available. This makes it easier to edit ui scripts, since it
will directly use the original files which avoids having to
run the build system.
* Improve editing of panel types while blender is open. That
means fixing some issues with lacking updates, overlaps, strange
ordering. It even does an animation now when the panel resizes.

Commit Details:

Full Hash: 38b6f8f167662db35e8b51e8d9b2ecb13800982a
SVN Revision: 19763
Parent Commit: a565154
Lines Changed: +356, -256

13 Modified Paths:

/source/blender/blenlib/intern/util.c (+14, -21) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+8, -8) (Diff)
/source/blender/editors/interface/interface.c (+0, -3) (Diff)
/source/blender/editors/interface/interface_layout.c (+13, -13) (Diff)
/source/blender/editors/interface/interface_panel.c (+276, -191) (Diff)
/source/blender/editors/interface/interface_utils.c (+3, -1) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+12, -7) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+2, -0) (Diff)
/source/blender/python/intern/bpy_panel_wrap.c (+24, -8) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021