Fix broken auto-leyframing for 'Vector' button.

This commit is contained in:
Bastien Montagne 2014-11-15 18:18:47 +01:00
parent 141064d7ae
commit d3b0a4a525
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ static void ui_item_array(uiLayout *layout, uiBlock *block, const char *name, in
}
}
else if (subtype == PROP_DIRECTION && !expand) {
uiDefButR_prop(block, UI_BTYPE_UNITVEC, 0, name, x, y, UI_UNIT_X * 3, UI_UNIT_Y * 3, ptr, prop, 0, 0, 0, -1, -1, NULL);
uiDefButR_prop(block, UI_BTYPE_UNITVEC, 0, name, x, y, UI_UNIT_X * 3, UI_UNIT_Y * 3, ptr, prop, -1, 0, 0, -1, -1, NULL);
}
else {
/* note, this block of code is a bit arbitrary and has just been made