diff options
author | Ton Roosendaal <ton@blender.org> | 2007-11-28 15:42:36 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-11-28 15:42:36 +0300 |
commit | 4cdaa3ada2cf562fd70ebf671de797136f132273 (patch) | |
tree | 66c07fdfb000c71f3a6adb15fad750ead5e5a6c1 /source/blender/python/api2_2x | |
parent | 7154e84ee1d5a6086eb47b499712d4bbc8a05a8f (diff) |
Previous commit (for ipos) missed python code fixes. Apparently makefiles
for python are broken...
Diffstat (limited to 'source/blender/python/api2_2x')
-rw-r--r-- | source/blender/python/api2_2x/Constraint.c | 2 | ||||
-rw-r--r-- | source/blender/python/api2_2x/Object.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Constraint.c b/source/blender/python/api2_2x/Constraint.c index 749e05426bd..a47afaba2e6 100644 --- a/source/blender/python/api2_2x/Constraint.c +++ b/source/blender/python/api2_2x/Constraint.c @@ -440,7 +440,7 @@ static PyObject *Constraint_insertKey( BPy_Constraint * self, PyObject * value ) return EXPP_ReturnPyObjError( PyExc_RuntimeError, "constraint doesn't belong to anything" ); } - icu= verify_ipocurve((ID *)ob, ID_CO, actname, con->name, CO_ENFORCE); + icu= verify_ipocurve((ID *)ob, ID_CO, actname, con->name, NULL, CO_ENFORCE); if (!icu) return EXPP_ReturnPyObjError( PyExc_RuntimeError, diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index e62f685cdf5..6b3735a6cfd 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -2510,7 +2510,7 @@ static PyObject *Object_setConstraintInfluenceForBone( BPy_Object * self, return EXPP_ReturnPyObjError( PyExc_TypeError, "expects bonename, constraintname, influenceval" ); - icu = verify_ipocurve((ID *)self->object, ID_CO, boneName, constName, + icu = verify_ipocurve((ID *)self->object, ID_CO, boneName, constName, NULL, CO_ENFORCE); if (!icu) |