Constraints Bugfixes/Tweaks:
* Optimised transform constraint a bit * PyConstraints now show the script-selection menu correctly when a new constraint is added (i.e. it now displays the correct initial value).
This commit is contained in:
@@ -661,7 +661,7 @@ static void draw_constraint (uiBlock *block, ListBase *list, bConstraint *con, s
|
||||
menustr = buildmenu_pyconstraints(data->text, &pyconindex);
|
||||
but2 = uiDefButI(block, MENU, B_CONSTRAINT_TEST, menustr,
|
||||
*xco+120, *yco-24, 150, 20, &pyconindex,
|
||||
0.0, 1.0, 0, 0, "Set the Script Constraint to use");
|
||||
0, 0, 0, 0, "Set the Script Constraint to use");
|
||||
uiButSetFunc(but2, validate_pyconstraint_cb, data, &pyconindex);
|
||||
MEM_freeN(menustr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user