Fix compositing normal node not properly showing vector XYZ values when opening

socket menu, and make the normal animatable.
This commit is contained in:
2012-11-17 16:11:02 +00:00
parent e2b58126a2
commit 469324b049
5 changed files with 23 additions and 26 deletions

View File

@@ -430,7 +430,7 @@ static void ui_item_array(uiLayout *layout, uiBlock *block, const char *name, in
but->type = NUMSLI;
}
}
else if (subtype == PROP_DIRECTION) {
else if (subtype == PROP_DIRECTION && !expand) {
uiDefButR_prop(block, BUT_NORMAL, 0, name, x, y, UI_UNIT_X * 3, UI_UNIT_Y * 3, ptr, prop, 0, 0, 0, -1, -1, NULL);
}
else {