diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-12-20 22:47:16 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-12-20 22:47:16 +0300 |
commit | 9cdf00897a7b3a32494cbc7b4004ee67447a6f4e (patch) | |
tree | aaa71ca1a42bddb3401aaf96648563c18af003ba /source/blender/editors/include | |
parent | 9f298c6e474f5428aa962faafc3283802b36b763 (diff) |
Fix #25315: Curve points keyframe changes made in edit mode get lost
ED_curve_updateAnimPaths now updates fcurves from animation data rather than
from local copy of curves: nurb and point index from keyIndex data gets
updated in this function and for correct handling undo stuff copy of
fcurves is stored in UndoCurve.
Additional changes:
- Revert of rev33640 and more proper fix: do not copy remained
spline-related rna fcurves after renaming pathes but all the rest
fcurves woulddbe copied back to animation data
- Refresh graph and dopesheet editor after updating animation data
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_curve.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h index 666b11c7c0f..ec3c5e69830 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -83,7 +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); +int ED_curve_updateAnimPaths(struct Object *obedit); #endif /* ED_CURVE_H */ |