[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20580] branches/ge_dev/intern/itasc/ CopyPose.cpp: iTaSC: fix bug with initial simulation test not reproductible .

Benoit Bolsee benoit.bolsee at online.be
Tue Jun 2 15:14:54 CEST 2009


Revision: 20580
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20580
Author:   ben2610
Date:     2009-06-02 15:14:54 +0200 (Tue, 02 Jun 2009)

Log Message:
-----------
iTaSC: fix bug with initial simulation test not reproductible. CopyPose Jacobian was not correctly restored from cache.

Modified Paths:
--------------
    branches/ge_dev/intern/itasc/CopyPose.cpp

Modified: branches/ge_dev/intern/itasc/CopyPose.cpp
===================================================================
--- branches/ge_dev/intern/itasc/CopyPose.cpp	2009-06-02 13:03:33 UTC (rev 20579)
+++ branches/ge_dev/intern/itasc/CopyPose.cpp	2009-06-02 13:14:54 UTC (rev 20580)
@@ -221,7 +221,8 @@
 			// We must get the pose from the scene using the callback. Hopefully the constraint
 			// are updated after the objects, so we can trust the object position
 			getExternalPose(m_internalPose);
-            m_poseCTs = timestamp;
+			updateJacobian();
+			m_poseCTs = timestamp;
 			return true;
         }
     }





More information about the Bf-blender-cvs mailing list