Bugfixes:
* Menus could no longer have their items accessed by number (i.e. W-5 didn't run merge tool in EditMode when accessed by keyboard). This was caused by my commit for BUTM (there was some extra code there that isn't really needed, but was causing havok). * NumPad can now be used for the above feature too now * Typo in error message in Constraints PyAPI
This commit is contained in:
@@ -588,7 +588,7 @@ static int constspace_setter( BPy_Constraint *self, int type, PyObject *value )
|
||||
if (num_tars) {
|
||||
if ((PySequence_Check(value) == 0) || (PySequence_Size(value) != num_tars)) {
|
||||
char errorstr[64];
|
||||
sprintf(errorstr, "expected sequence of %d integers", num_tars);
|
||||
sprintf(errorstr, "expected sequence of %d integer(s)", num_tars);
|
||||
return EXPP_ReturnIntError(PyExc_TypeError, errorstr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user