diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-03-11 14:22:27 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-03-11 14:22:27 +0300 |
commit | 51a8a60d96ac49c625787abd0406cf12cb2d3636 (patch) | |
tree | 92316ebfb055b8c9f13eb3866e26de15d1f7413a /source/blender/python/api2_2x | |
parent | 294f884a7d1f61440a5d14cfa25ca2c8450f7096 (diff) |
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
Diffstat (limited to 'source/blender/python/api2_2x')
-rw-r--r-- | source/blender/python/api2_2x/Constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Constraint.c b/source/blender/python/api2_2x/Constraint.c index 491669a7d92..9ca0d8d2545 100644 --- a/source/blender/python/api2_2x/Constraint.c +++ b/source/blender/python/api2_2x/Constraint.c @@ -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); } |