UI: don't show XYZ text w/ direction buttons

This commit is contained in:
2018-06-01 14:10:43 +02:00
parent 32c12d057f
commit 82b8fd8eaf

View File

@@ -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'};