From 82b8fd8eafdc524e8d97f8cf43bf4ea4b97f6aab Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 1 Jun 2018 14:10:43 +0200 Subject: [PATCH] UI: don't show XYZ text w/ direction buttons --- source/blender/editors/interface/interface_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'};