Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2010-04-26 10:35:25 +0400
committerJoshua Leung <aligorith@gmail.com>2010-04-26 10:35:25 +0400
commit4980e43dd13677d21c870b6c5cce7f1e2af3d164 (patch)
treead5b3d4832dc27edb2a33eaf263388bd4a86f7b1 /source/blender/blenkernel/intern/constraint.c
parentb5d28306d029acbeecc48afcabff7fdb321abdd8 (diff)
Assorted code cleanups:
* Removed some un-needed armature code stubs * Manually copying over the values of constraints in the constraint copy() callbacks should NOT be needed. Removed this from the Spline IK constraint. The manual process is only a hacky aspect of the modifier stack only!
Diffstat (limited to 'source/blender/blenkernel/intern/constraint.c')
-rw-r--r--source/blender/blenkernel/intern/constraint.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c
index 9dab2c1c07e..18504bab59b 100644
--- a/source/blender/blenkernel/intern/constraint.c
+++ b/source/blender/blenkernel/intern/constraint.c
@@ -3751,10 +3751,6 @@ static void splineik_copy (bConstraint *con, bConstraint *srccon)
/* copy the binding array */
dst->points= MEM_dupallocN(src->points);
- dst->numpoints= src->numpoints;
- dst->chainlen= src->chainlen;
- dst->flag= src->flag;
- dst->xzScaleMode= src->xzScaleMode;
}
static void splineik_new_data (void *cdata)