[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15334] trunk/blender/source/blender/ blenkernel/intern/action.c: BGE bug fix: action constraints were not correctly copied from Blender to BGE local copy , only the first one was copied

Benoit Bolsee benoit.bolsee at online.be
Mon Jun 23 22:29:42 CEST 2008


Revision: 15334
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15334
Author:   ben2610
Date:     2008-06-23 22:29:32 +0200 (Mon, 23 Jun 2008)

Log Message:
-----------
BGE bug fix: action constraints were not correctly copied from Blender to BGE local copy, only the first one was copied

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-06-23 20:26:48 UTC (rev 15333)
+++ trunk/blender/source/blender/blenkernel/intern/action.c	2008-06-23 20:29:32 UTC (rev 15334)
@@ -350,7 +350,7 @@
 	pchan->flag= chan->flag;
 	
 	con= chan->constraints.first;
-	for(pcon= pchan->constraints.first; pcon; pcon= pcon->next) {
+	for(pcon= pchan->constraints.first; pcon; pcon= pcon->next, con= con->next) {
 		pcon->enforce= con->enforce;
 		pcon->headtail= con->headtail;
 	}





More information about the Bf-blender-cvs mailing list