Blender Git Loki

Git Commits -> Revision 3eab224

Revision 3eab224 by Hans Goudey (master)
October 2, 2020, 22:00 (GMT)
UI: Move button groups from layout to block level

For a future patch (D9006) we need these groups for longer than just the
the layout process, in order to differentiate buttons in panel headers.
It may also be helpful in the future to have a way to access related
buttons added in the same uiLayout.prop call. With this commit, the
groups are stored in and destructed with the uiBlock.

Commit Details:

Full Hash: 3eab2248c346081b76c8379656aeff2a473a3da4
Parent Commit: 28a2c84
Lines Changed: +125, -98

1 Added Path:

/source/blender/editors/interface/interface_button_group.c (+84, -0) (View)

4 Modified Paths:

/source/blender/editors/interface/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+6, -1) (Diff)
/source/blender/editors/interface/interface_intern.h (+19, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+15, -96) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021