merge with 2.5 at r20783
[blender-staging.git] / source / blender / blenkernel / intern / constraint.c
index 25fc7bd3b4f98567e1fd0eeac068cf96f635a260..059687030cb290491b87ff4e74522c3cda27770e 100644 (file)
@@ -3431,6 +3431,8 @@ void copy_constraints (ListBase *dst, ListBase *src)
                /* make a new copy of the constraint's data */
                con->data = MEM_dupallocN(con->data);
                
+               id_us_plus((ID *)con->ipo);
+               
                /* only do specific constraints if required */
                if (cti && cti->copy_data)
                        cti->copy_data(con, srccon);