Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-09-20 12:53:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-20 14:05:28 +0300
commitc8b293ec057ea9e8fb445ba103cf973cbd03c9f0 (patch)
tree93a60931519c0ef67e5c1fe91c79c4f6862ea02a /source/blender/editors/include
parentf431c199541e400653e1f8f590934a22b9672dc6 (diff)
Fix T69097: Empty context menu for dimensions
Adjust empty menu check to skip the menu title.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/UI_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index 6fc71846cbb..5326888036e 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -524,6 +524,7 @@ bool UI_but_is_tool(const uiBut *but);
bool UI_but_is_utf8(const uiBut *but);
#define UI_but_is_decorator(but) ((but)->func == ui_but_anim_decorate_cb)
+bool UI_block_is_empty_ex(const uiBlock *block, const bool skip_title);
bool UI_block_is_empty(const uiBlock *block);
bool UI_block_can_add_separator(const uiBlock *block);