diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-11-15 20:18:47 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-11-15 20:19:23 +0300 |
commit | d3b0a4a525cde20e9609c5c2ded8fa8327ed9f2a (patch) | |
tree | 13b88538b871918ff48d6c29e1781cadeffdf291 | |
parent | 141064d7ae3f2e9277ba272d582c0a72c1500e1c (diff) |
Fix broken auto-leyframing for 'Vector' button.
-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 47b9c85fb0b..0e0c6d920e7 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -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 |