diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-07-30 15:10:30 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-07-30 15:10:30 +0400 |
commit | 655fb548aa68b4b8fd06c859d1015105ca7259bc (patch) | |
tree | a1a1ff91b6c0c7c80f7b467b7a4e40619fd75ffe /source/blender/python/api2_2x/Constraint.c | |
parent | 8b127a9bc1824746d6f70665a792f7d66b09e6fa (diff) |
Removing some useless code, and fixed a few compiler warnings.
Diffstat (limited to 'source/blender/python/api2_2x/Constraint.c')
-rw-r--r-- | source/blender/python/api2_2x/Constraint.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Constraint.c b/source/blender/python/api2_2x/Constraint.c index 6c0633c4c04..1f9a7e953be 100644 --- a/source/blender/python/api2_2x/Constraint.c +++ b/source/blender/python/api2_2x/Constraint.c @@ -440,7 +440,9 @@ static PyObject *Constraint_insertKey( BPy_Constraint * self, PyObject * value ) /******************************************************************************/ /* Constraint Space Conversion get/set procedures */ -/* - Individual constraint procedures should call these */ +/* - These are called before/instead of individual constraint */ +/* get/set procedures when OWNERSPACE or TARGETSPACE are chosen */ +/* - They are only called from Constraint_g/setData /******************************************************************************/ static PyObject *constspace_getter( BPy_Constraint * self, int type ) @@ -528,7 +530,7 @@ static int constspace_setter( BPy_Constraint *self, int type, PyObject *value ) case CONSTRAINT_TYPE_TRANSFORM: { Object *tar; - char subtarget[32]; + char *subtarget; tar= get_constraint_target(con, &subtarget); |