From 8c1723d6bae893caf91427d5cbb8f1aefc12b12c Mon Sep 17 00:00:00 2001 From: Calvin Balke Date: Tue, 30 Jun 2015 14:49:46 -0700 Subject: [PATCH] Added a minor bug fix to the transform --- CommonAPI/Common/source/DXAPI/SceneObject.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CommonAPI/Common/source/DXAPI/SceneObject.cpp b/CommonAPI/Common/source/DXAPI/SceneObject.cpp index 755d767..54944dd 100644 --- a/CommonAPI/Common/source/DXAPI/SceneObject.cpp +++ b/CommonAPI/Common/source/DXAPI/SceneObject.cpp @@ -31,6 +31,7 @@ namespace DX char * argv[] = { &arg0[0], NULL }; int argc = 1; Con::setMatrixRotation(objtoworld,argc,(const char **)argv,NULL,0); + Con::setMatrixRotation(renderobjtoworld,argc,(const char **)argv,NULL,0); } void SceneObject::setPosition(float pos []) { @@ -39,5 +40,6 @@ namespace DX char * argv[] = { &arg0[0], NULL }; int argc = 1; Con::setMatrixPosition(objtoworld,argc,(const char **)argv,NULL,0); + Con::setMatrixPosition(renderobjtoworld,argc,(const char **)argv,NULL,0); } } \ No newline at end of file