diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-01 15:10:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-01 15:10:43 +0300 |
commit | 82b8fd8eafdc524e8d97f8cf43bf4ea4b97f6aab (patch) | |
tree | 9b443295ec01c436be98707ff815ba1becf94c17 /source | |
parent | 32c12d057f42d038d80401b772dd310ffa2b266f (diff) |
UI: don't show XYZ text w/ direction buttons
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index bfd37db4bef..ea40c8e8fd8 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -1533,7 +1533,7 @@ void uiItemFullR(uiLayout *layout, PointerRNA *ptr, PropertyRNA *prop, int index layout_sub->space = 0; if ((index == RNA_NO_INDEX && is_array) && - ((ELEM(subtype, PROP_COLOR, PROP_COLOR_GAMMA) && !expand) == 0)) + ((!expand && ELEM(subtype, PROP_COLOR, PROP_COLOR_GAMMA, PROP_DIRECTION)) == 0)) { char name_with_suffix[UI_MAX_DRAW_STR + 2]; char str[2] = {'\0'}; |