[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33640] trunk/blender/source/blender/ editors/curve/editcurve.c: Bugfix #25197

Ton Roosendaal ton at blender.org
Mon Dec 13 18:10:44 CET 2010


Revision: 33640
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33640
Author:   ton
Date:     2010-12-13 18:10:44 +0100 (Mon, 13 Dec 2010)

Log Message:
-----------
Bugfix #25197

Curve follow path: the fcurve modifier got lost after tabbing in out
editmode. Also other non-point related curves would get lost.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/curve/editcurve.c

Modified: trunk/blender/source/blender/editors/curve/editcurve.c
===================================================================
--- trunk/blender/source/blender/editors/curve/editcurve.c	2010-12-13 15:21:44 UTC (rev 33639)
+++ trunk/blender/source/blender/editors/curve/editcurve.c	2010-12-13 17:10:44 UTC (rev 33640)
@@ -1108,8 +1108,10 @@
 		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;
 }
 





More information about the Bf-blender-cvs mailing list