From 4980e43dd13677d21c870b6c5cce7f1e2af3d164 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Mon, 26 Apr 2010 06:35:25 +0000 Subject: 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! --- source/blender/blenkernel/intern/constraint.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender/blenkernel/intern/constraint.c') 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) -- cgit v1.2.3