Made Object-level copy constraints work the same as for bones now too

This commit is contained in:
2008-09-24 11:52:31 +00:00
parent 3b09c0b0d5
commit 48bc5b2ac6
5 changed files with 416 additions and 4 deletions

View File

@@ -3624,10 +3624,6 @@ void copy_attr(short event)
}
}
else if(event==22) {
/* Clear the constraints on the target */
free_constraints(&base->object->constraints);
free_constraint_channels(&base->object->constraintChannels);
/* Copy the constraint channels over */
copy_constraints(&base->object->constraints, &ob->constraints);
if (U.dupflag& USER_DUP_IPO)