Blender Git Loki
Git Commits -> Revision 5fc13d1
Revision 5fc13d1 by Hans Goudey (modifier-panels-ui) April 7, 2020, 20:57 (GMT) |
Support multiple panels of the same type The name for the uiBlock associated with a panel was just the panel type's idname, so the old block found at the start of drawing was the same for every panel of a certain type. Panel blocks for list panels are now named with the list index appended to the end of the name. The panel list is also rebuilt when reordering panels of the same type. |
Commit Details:
Full Hash: 5fc13d111229eeec6a3fd331abceb3f2e2692f10
Parent Commit: 2744816
Lines Changed: +109, -23
5 Modified Paths:
/source/blender/editors/include/UI_interface.h (+5, -2) (Diff)
/source/blender/editors/interface/interface_panel.c (+44, -7) (Diff)
/source/blender/editors/interface/interface_templates.c (+12, -8) (Diff)
/source/blender/editors/screen/area.c (+46, -6) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+2, -0) (Diff)
/source/blender/editors/interface/interface_panel.c (+44, -7) (Diff)
/source/blender/editors/interface/interface_templates.c (+12, -8) (Diff)
/source/blender/editors/screen/area.c (+46, -6) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+2, -0) (Diff)