diff options
author | Harley Acheson <harley> | 2019-04-25 15:40:53 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-25 19:19:47 +0300 |
commit | b89cabb300816427273596736aa45ab9edca76b9 (patch) | |
tree | 3527083af1e51ce1cb0c10e7a6117d901b6788a5 /source/blender/editors/include/UI_interface.h | |
parent | 905f2d84af4d200dc23454edc286965808334eb6 (diff) |
UI: hide redundant menu separators automatically
Differential Revision: https://developer.blender.org/D4682
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 1 |
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 d6cfe7aea1f..18960853011 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -520,6 +520,7 @@ bool UI_but_is_tool(const uiBut *but); #define UI_but_is_decorator(but) ((but)->func == ui_but_anim_decorate_cb) bool UI_block_is_empty(const uiBlock *block); +bool UI_block_can_add_separator(const uiBlock *block); /* interface_region_menu_popup.c */ /** |