Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2010-12-13 20:10:44 +0300
committerTon Roosendaal <ton@blender.org>2010-12-13 20:10:44 +0300
commit573b8d0309c7459c8a7dcf1be12f92b65b9e22df (patch)
tree59e553755bf0de2f32baeb624c228f6d6b1e2c11 /source/blender/editors/curve
parent0ea96731d90407bec0088c1cf4c843ca34b38464 (diff)
Bugfix #25197
Curve follow path: the fcurve modifier got lost after tabbing in out editmode. Also other non-point related curves would get lost.
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r--source/blender/editors/curve/editcurve.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 9086e9fb317..7018ddab9fc 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -1108,8 +1108,10 @@ void ED_curve_updateAnimPaths(Object *obedit)
nu_index++;
}
+ /* the remainders in orig_curves can be copied back (like follow path) */
+ addlisttolist(&curves, &orig_curves);
+
free_fcurves(&ad->action->curves);
- free_fcurves(&orig_curves);
ad->action->curves= curves;
}