diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-01 08:23:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-02 08:58:44 +0300 |
commit | 428a1aaf7372aaad793fe7cc03128db18e3ae602 (patch) | |
tree | 8ff7b138f3d666d9533e63b448519611c673d009 /source/blender/editors/include | |
parent | 89ed6b12936bc2a89b18cf6dbd7b86e0fbc760d3 (diff) |
UI: add back Layout.introspect
Add back this function, removed 2e14b7fb9770b.
Useful for checking operators used in menus.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 367f7965026..4fc537ca5c2 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -2407,6 +2407,9 @@ void uiItemTabsEnumR_prop(uiLayout *layout, PropertyRNA *prop, bool icon_only); +/* Only for testing, inspecting layouts. */ +const char *UI_layout_introspect(uiLayout *layout); + /* UI Operators */ typedef struct uiDragColorHandle { float color[3]; |