[Bf-blender-cvs] [d3b0a4a] master: Fix broken auto-leyframing for 'Vector' button.

Bastien Montagne noreply at git.blender.org
Sat Nov 15 18:19:44 CET 2014


Commit: d3b0a4a525cde20e9609c5c2ded8fa8327ed9f2a
Author: Bastien Montagne
Date:   Sat Nov 15 18:18:47 2014 +0100
Branches: master
https://developer.blender.org/rBd3b0a4a525cde20e9609c5c2ded8fa8327ed9f2a

Fix broken auto-leyframing for 'Vector' button.

===================================================================

M	source/blender/editors/interface/interface_layout.c

===================================================================

diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index 47b9c85..0e0c6d9 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




More information about the Bf-blender-cvs mailing list