If you rename a Constraint, the used Constraint Channels (Ipo curves) were
not renamed as well, making animations not work anymore.

Now renaming works up to this level:
- own object constraints
- own object Action constraints

This is identical to Bone renaming. Note that other actions (like in NLA)
are not corrected for renaming. Have to look at ways to provide that once.
This commit is contained in:
2006-11-02 10:13:01 +00:00
parent cdd4748692
commit 402287940a
4 changed files with 78 additions and 8 deletions

View File

@@ -55,5 +55,8 @@ void ob_clear_constraints(void);
char *get_con_subtarget_name(struct bConstraint *con, struct Object *target);
void rename_constraint(struct Object *ob, struct bConstraint *con, char *newname);
#endif