Blender Git Commit Log
Git Commits -> Revision 3c85824
Revision 3c85824 by Julian Eisel (master) April 27, 2020, 12:57 (GMT) |
UI: Support array properties for UILayout.prop_decorator() Previously `UILayout.prop_decorator()` (or `uiItemDecoratorR()` in C) only worked for single items, not for arrays. The decorators are added vertically, like `UILayout.prop()` adds them. This will be needed for adding decorators to material properties, but will likely have other use-cases as well. Also, `None` (or `NULL`) can be passed for the data-pointer and property now to create blank decorators (as already possible for `uiItemDecoratorR_prop` in C). |
Commit Details:
Full Hash: 3c858246cd8f1859d06c72def727a64d70dd0460
Parent Commit: f346fd3
Lines Changed: +48, -29
1 Modified Path:
/source/blender/editors/interface/interface_layout.c (+48, -29) (Diff)