diff options
author | Julian Eisel <julian@blender.org> | 2022-03-15 20:43:26 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-03-15 20:48:52 +0300 |
commit | d8e3bcf770c25b0780b2c35a72afae00171ba914 (patch) | |
tree | 521ff41e4a4e8cd7c77e0f4ec51187f01ceb897b /source/blender/editors/include/UI_interface.h | |
parent | 7f77bd95d982279766c2bfb38829b18fdbe55f02 (diff) |
Outliner: Display buttons to edit library override properties
As proposed in T95802, this adds buttons to a new column on the right to modify
the override in the Library Override display mode. Some further usability
improvements are planned. E.g. this does not yet expand collections (modifiers,
constraints, etc) nicely or group modified properties of a modifier together.
Vector properties with more than 3 items or matrices aren't displayed nicely
yet, they are just squeezed into the column. If this actually becomes a problem
there are some ideas to address this.
Differential Revision: https://developer.blender.org/D14268
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 060c9dc33d6..a223eac3000 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -1610,6 +1610,14 @@ uiBut *uiDefAutoButR(uiBlock *block, int y, int width, int height); +void uiDefAutoButsArrayR(uiBlock *block, + PointerRNA *ptr, + PropertyRNA *prop, + const int icon, + const int x, + const int y, + const int tot_width, + const int height); /** * \a check_prop callback filters functions to avoid drawing certain properties, * in cases where PROP_HIDDEN flag can't be used for a property. |