[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57443] trunk/blender/source/gameengine/ Ketsji/KX_GameObject.cpp: BGE: Fixing a bug that caused KX_GameObject. localTransform to give incorrect results.

Mitchell Stokes mogurijin at gmail.com
Fri Jun 14 00:15:44 CEST 2013


Revision: 57443
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57443
Author:   moguri
Date:     2013-06-13 22:15:44 +0000 (Thu, 13 Jun 2013)
Log Message:
-----------
BGE: Fixing a bug that caused KX_GameObject.localTransform to give incorrect results.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp

Modified: trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp	2013-06-13 18:29:56 UTC (rev 57442)
+++ trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp	2013-06-13 22:15:44 UTC (rev 57443)
@@ -2280,7 +2280,7 @@
 {
 	KX_GameObject* self = static_cast<KX_GameObject*>(self_v);
 
-	double *mat = MT_CmMatrix4x4().getPointer();
+	double mat[16];
 
 	MT_Transform trans;
 	




More information about the Bf-blender-cvs mailing list