[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14588] trunk/blender/source/blender/ blenkernel/intern/action.c: Bugfix #8937: Action constraint for non-armatures shows lag on clear transform

Joshua Leung aligorith at gmail.com
Mon Apr 28 12:35:56 CEST 2008


Revision: 14588
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14588
Author:   aligorith
Date:     2008-04-28 12:35:51 +0200 (Mon, 28 Apr 2008)

Log Message:
-----------
Bugfix #8937: Action constraint for non-armatures shows lag on clear transform

The problem here was that the owner instead of the workob was being used to find the effect of the action constraint.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/action.c

Modified: trunk/blender/source/blender/blenkernel/intern/action.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/action.c	2008-04-28 09:41:51 UTC (rev 14587)
+++ trunk/blender/source/blender/blenkernel/intern/action.c	2008-04-28 10:35:51 UTC (rev 14588)
@@ -1139,12 +1139,13 @@
 	workob.constraints.first = ob->constraints.first;
 	workob.constraints.last = ob->constraints.last;
 
-	strcpy(workob.parsubstr, ob->parsubstr); 
+	strcpy(workob.parsubstr, ob->parsubstr);
+	strcpy(workob.id.name, ob->id.name);
 	
 	/* extract_ipochannels_from_action needs id's! */
 	workob.action= act;
 	
-	extract_ipochannels_from_action(&tchanbase, &ob->id, act, "Object", bsystem_time(&workob, cframe, 0.0));
+	extract_ipochannels_from_action(&tchanbase, &workob.id, act, "Object", bsystem_time(&workob, cframe, 0.0));
 	
 	if (tchanbase.first) {
 		execute_ipochannels(&tchanbase);





More information about the Bf-blender-cvs mailing list