[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45902] trunk/blender/source/gameengine/ Physics/Bullet/CcdPhysicsController.cpp: fix for CcdPhysicsController:: RelativeRotate reading 2 values past the input.

Campbell Barton ideasman42 at gmail.com
Tue Apr 24 03:53:00 CEST 2012


Revision: 45902
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45902
Author:   campbellbarton
Date:     2012-04-24 01:52:59 +0000 (Tue, 24 Apr 2012)
Log Message:
-----------
fix for CcdPhysicsController::RelativeRotate reading 2 values past the input.
note: this function isn't used but may as well fix.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp

Modified: trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
===================================================================
--- trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp	2012-04-24 01:04:37 UTC (rev 45901)
+++ trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp	2012-04-24 01:52:59 UTC (rev 45902)
@@ -863,9 +863,9 @@
 			return;
 		}
 
-		btMatrix3x3 drotmat(	rotval[0],rotval[4],rotval[8],
-								rotval[1],rotval[5],rotval[9],
-								rotval[2],rotval[6],rotval[10]);
+		btMatrix3x3 drotmat(rotval[0], rotval[3], rotval[6],
+		                    rotval[1], rotval[4], rotval[7],
+		                    rotval[2], rotval[5], rotval[8]);
 
 
 		btMatrix3x3 currentOrn;




More information about the Bf-blender-cvs mailing list