Curves CV animation

===================

Update fcurves RNA pathes after making changes to curve topology, so
animation will no longer lost after edit and wouldn't lead to crash.

Will be very useful for RotoBezier addon.

Also NodeKeyIndex renamed to CVNodeIndex due to node is an entity from
another module and better not used in others.
This commit is contained in:
2010-12-06 17:20:22 +00:00
parent 9d636334e9
commit 14ec2d9122
3 changed files with 253 additions and 56 deletions

View File

@@ -83,5 +83,7 @@ ListBase *ED_curve_editnurbs(struct Curve *cu);
void ED_curve_beztcpy(struct EditNurb *editnurb, struct BezTriple *dst, struct BezTriple *src, int count);
void ED_curve_bpcpy(struct EditNurb *editnurb, struct BPoint *dst, struct BPoint *src, int count);
void ED_curve_updateAnimPaths(struct Object *obedit);
#endif /* ED_CURVE_H */