From: <kal...@us...> - 2010-09-09 17:19:50
|
Revision: 2968 http://ogreaddons.svn.sourceforge.net/ogreaddons/?rev=2968&view=rev Author: kallaspriit Date: 2010-09-09 17:19:43 +0000 (Thu, 09 Sep 2010) Log Message: ----------- Fixed node updating as reported by Nodrev http://www.ogre3d.org/addonforums/viewtopic.php?f=4&t=13387&sid=0644c76940fafbbded881e13a3e8a06f Modified Paths: -------------- branches/ogrenewt/newton20/OgreNewt.vcproj branches/ogrenewt/newton20/OgreNewt_VS9.suo branches/ogrenewt/newton20/demos/MinimalOgreNewtApplication/MinimalOgreNewt.vcproj branches/ogrenewt/newton20/src/OgreNewt_Body.cpp Modified: branches/ogrenewt/newton20/OgreNewt.vcproj =================================================================== --- branches/ogrenewt/newton20/OgreNewt.vcproj 2010-09-08 18:40:56 UTC (rev 2967) +++ branches/ogrenewt/newton20/OgreNewt.vcproj 2010-09-09 17:19:43 UTC (rev 2968) @@ -112,7 +112,7 @@ /> <Tool Name="VCPostBuildEventTool" - CommandLine="copy $(OutDir)\OgreNewt_d.dll demos\bin\Debug\OgreNewt_d.dll


if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreMain_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreMain_d.dll" "demos\bin\Debug\OgreMain_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OIS_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OIS_d.dll" "demos\bin\Debug\OIS_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\Plugin_CgProgramManager_d.dll" "demos\bin\Debug\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_Direct3D9_d.dll" "demos\bin\Debug\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_GL_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_GL_d.dll" "demos\bin\Debug\RenderSystem_GL_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreGUIRenderer_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreGUIRenderer_d.dll" "demos\bin\Debug\OgreGUIRenderer_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\CEGUIBase_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\CEGUIBase_d.dll" "demos\bin\Debug\CEGUIBase_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\CEGUIExpatParser_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\CEGUIExpatParser_d.dll" "demos\bin\Debug\CEGUIExpatParser_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\cg.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\cg.dll" "demos\bin\Debug\cg.dll"

if exist "$(OGRE_HOME)\bin\debug\OgreMain_d.dll" copy "$(OGRE_HOME)\bin\debug\OgreMain_d.dll" "demos\bin\Debug\OgreMain_d.dll"
if exist "$(OGRE_HOME)\bin\debug\OIS_d.dll" copy "$(OGRE_HOME)\bin\debug\OIS_d.dll" demos\bin\Debug\OIS_d.dll"
if exist "$(OGRE_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" demos\bin\Debug\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" demos\bin\Debug\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_HOME)\bin\debug\RenderSystem_GL_d.dll" copy "$(OGRE_HOME)\bin\debug\RenderSystem_GL_d.dll" demos\bin\Debug\RenderSystem_GL_d.dll"
if exist "$(OGRE_HOME)\bin\debug\OgreGUIRenderer_d.dll" copy "$(OGRE_HOME)\bin\debug\OgreGUIRenderer_d.dll" demos\bin\Debug\OgreGUIRenderer_d.dll"
if exist "$(OGRE_HOME)\bin\debug\CEGUIBase_d.dll" copy "$(OGRE_HOME)\bin\debug\CEGUIBase_d.dll" demos\bin\Debug\CEGUIBase_d.dll"
if exist "$(OGRE_HOME)\bin\debug\CEGUIExpatParser_d.dll" copy "$(OGRE_HOME)\bin\debug\CEGUIExpatParser_d.dll" demos\bin\Debug\CEGUIExpatParser_d.dll"
if exist "$(OGRE_HOME)\bin\debug\cg.dll" copy "$(OGRE_HOME)\bin\debug\cg.dll" demos\bin\Debug\cg.dll"

if exist "$(OGRE_BUILD_HOME)\bin\release\OgreMain_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\OgreMain_d.dll" "demos\bin\Release\OgreMain_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\OIS.dll" copy "$(OGRE_BUILD_HOME)\bin\release\OIS.dll" "demos\bin\Release\OIS.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\Plugin_CgProgramManager_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\Plugin_CgProgramManager_d.dll" "demos\bin\Release\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\RenderSystem_Direct3D9_d.dll" "demos\bin\Release\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\RenderSystem_GL_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\RenderSystem_GL_d.dll" "demos\bin\Release\RenderSystem_GL_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\OgreGUIRenderer_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\OgreGUIRenderer_d.dll" "demos\bin\Release\OgreGUIRenderer_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\CEGUIBase_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\CEGUIBase_d.dll" "demos\bin\Release\CEGUIBase_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\CEGUIExpatParser_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\CEGUIExpatParser_d.dll" "demos\bin\Release\CEGUIExpatParser_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\cg.dll" copy "$(OGRE_BUILD_HOME)\bin\release\cg.dll" "demos\bin\Release\cg.dll"

copy $(NEWTON_HOME)\sdk\x32\dll_vs9\newton.dll demos\bin\Debug\newton.dll
copy $(NEWTON_HOME)\sdk\x32\dJointLibrary_d.dll demos\bin\Debug\dJointLibrary_d.dll

" + CommandLine="copy $(OutDir)\OgreNewt_d.dll demos\bin\Debug\OgreNewt_d.dll


if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreMain_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreMain_d.dll" "demos\bin\Debug\OgreMain_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OIS_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OIS_d.dll" "demos\bin\Debug\OIS_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\Plugin_CgProgramManager_d.dll" "demos\bin\Debug\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_Direct3D9_d.dll" "demos\bin\Debug\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_GL_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_GL_d.dll" "demos\bin\Debug\RenderSystem_GL_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreGUIRenderer_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreGUIRenderer_d.dll" "demos\bin\Debug\OgreGUIRenderer_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\CEGUIBase_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\CEGUIBase_d.dll" "demos\bin\Debug\CEGUIBase_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\CEGUIExpatParser_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\CEGUIExpatParser_d.dll" "demos\bin\Debug\CEGUIExpatParser_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\cg.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\cg.dll" "demos\bin\Debug\cg.dll"

if exist "$(OGRE_HOME)\bin\debug\OgreMain_d.dll" copy "$(OGRE_HOME)\bin\debug\OgreMain_d.dll" "demos\bin\Debug\OgreMain_d.dll"
if exist "$(OGRE_HOME)\bin\debug\OIS_d.dll" copy "$(OGRE_HOME)\bin\debug\OIS_d.dll" demos\bin\Debug\OIS_d.dll"
if exist "$(OGRE_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" demos\bin\Debug\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" demos\bin\Debug\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_HOME)\bin\debug\RenderSystem_GL_d.dll" copy "$(OGRE_HOME)\bin\debug\RenderSystem_GL_d.dll" demos\bin\Debug\RenderSystem_GL_d.dll"
if exist "$(OGRE_HOME)\bin\debug\OgreGUIRenderer_d.dll" copy "$(OGRE_HOME)\bin\debug\OgreGUIRenderer_d.dll" demos\bin\Debug\OgreGUIRenderer_d.dll"
if exist "$(OGRE_HOME)\bin\debug\CEGUIBase_d.dll" copy "$(OGRE_HOME)\bin\debug\CEGUIBase_d.dll" demos\bin\Debug\CEGUIBase_d.dll"
if exist "$(OGRE_HOME)\bin\debug\CEGUIExpatParser_d.dll" copy "$(OGRE_HOME)\bin\debug\CEGUIExpatParser_d.dll" demos\bin\Debug\CEGUIExpatParser_d.dll"
if exist "$(OGRE_HOME)\bin\debug\cg.dll" copy "$(OGRE_HOME)\bin\debug\cg.dll" demos\bin\Debug\cg.dll"

if exist "$(OGRE_BUILD_HOME)\bin\debug\OgreMain_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\OgreMain_d.dll" "demos\bin\Release\OgreMain_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\OIS.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\OIS.dll" "demos\bin\Release\OIS.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" "demos\bin\Release\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" "demos\bin\Release\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\RenderSystem_GL_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\RenderSystem_GL_d.dll" "demos\bin\Release\RenderSystem_GL_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\OgreGUIRenderer_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\OgreGUIRenderer_d.dll" "demos\bin\Release\OgreGUIRenderer_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\CEGUIBase_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\CEGUIBase_d.dll" "demos\bin\Release\CEGUIBase_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\CEGUIExpatParser_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\CEGUIExpatParser_d.dll" "demos\bin\Release\CEGUIExpatParser_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\cg.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\cg.dll" "demos\bin\Release\cg.dll"

copy $(NEWTON_HOME)\sdk\x32\dll_vs9\newton.dll demos\bin\Debug\newton.dll
copy $(NEWTON_HOME)\sdk\x32\dJointLibrary_d.dll demos\bin\Debug\dJointLibrary_d.dll

" /> </Configuration> <Configuration Modified: branches/ogrenewt/newton20/OgreNewt_VS9.suo =================================================================== (Binary files differ) Modified: branches/ogrenewt/newton20/demos/MinimalOgreNewtApplication/MinimalOgreNewt.vcproj =================================================================== --- branches/ogrenewt/newton20/demos/MinimalOgreNewtApplication/MinimalOgreNewt.vcproj 2010-09-08 18:40:56 UTC (rev 2967) +++ branches/ogrenewt/newton20/demos/MinimalOgreNewtApplication/MinimalOgreNewt.vcproj 2010-09-09 17:19:43 UTC (rev 2968) @@ -25,7 +25,7 @@ > <Tool Name="VCPreBuildEventTool" - CommandLine="copy ..\..\lib\OgreNewt_d.dll $(OutDir)\OgreNewt_d.dll

if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreMain_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreMain_d.dll" "$(OutDir)\OgreMain_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OIS_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OIS_d.dll" "$(OutDir)\OIS_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\Plugin_CgProgramManager_d.dll" "$(OutDir)\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_Direct3D9_d.dll" "$(OutDir)\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_GL_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_GL_d.dll" "$(OutDir)\RenderSystem_GL_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\cg.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\cg.dll" "$(OutDir)\cg.dll"

if exist "$(OGRE_HOME)\bin\debug\OgreMain_d.dll" copy "$(OGRE_HOME)\bin\debug\OgreMain_d.dll" "$(OutDir)\OgreMain_d.dll"
if exist "$(OGRE_HOME)\bin\debug\OIS_d.dll" copy "$(OGRE_HOME)\bin\debug\OIS_d.dll" demos\bin\Debug\OIS_d.dll"
if exist "$(OGRE_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" demos\bin\Debug\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" demos\bin\Debug\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_HOME)\bin\debug\RenderSystem_GL_d.dll" copy "$(OGRE_HOME)\bin\debug\RenderSystem_GL_d.dll" demos\bin\Debug\RenderSystem_GL_d.dll"
if exist "$(OGRE_HOME)\bin\debug\cg.dll" copy "$(OGRE_HOME)\bin\debug\cg.dll" demos\bin\Debug\cg.dll"

if exist "$(OGRE_BUILD_HOME)\bin\release\OgreMain_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\OgreMain_d.dll" "demos\bin\Release\OgreMain_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\OIS.dll" copy "$(OGRE_BUILD_HOME)\bin\release\OIS.dll" "demos\bin\Release\OIS.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\Plugin_CgProgramManager_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\Plugin_CgProgramManager_d.dll" "demos\bin\Release\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\RenderSystem_Direct3D9_d.dll" "demos\bin\Release\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\RenderSystem_GL_d.dll" copy "$(OGRE_BUILD_HOME)\bin\release\RenderSystem_GL_d.dll" "demos\bin\Release\RenderSystem_GL_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\release\cg.dll" copy "$(OGRE_BUILD_HOME)\bin\release\cg.dll" "demos\bin\Release\cg.dll"

copy $(NEWTON_HOME)\sdk\x32\dll_vs9\newton.dll $(OutDir)\newton.dll
copy $(NEWTON_HOME)\sdk\x32\dJointLibrary_d.dll $(OutDir)\dJointLibrary_d.dll
" + CommandLine="copy ..\..\lib\OgreNewt_d.dll $(OutDir)\OgreNewt_d.dll

if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreMain_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OgreMain_d.dll" "$(OutDir)\OgreMain_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\OIS_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\OIS_d.dll" "$(OutDir)\OIS_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\Plugin_CgProgramManager_d.dll" "$(OutDir)\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_Direct3D9_d.dll" "$(OutDir)\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_GL_d.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\RenderSystem_GL_d.dll" "$(OutDir)\RenderSystem_GL_d.dll"
if exist "$(OGRE_HOME)\Samples\Common\bin\Debug\cg.dll" copy "$(OGRE_HOME)\Samples\Common\bin\Debug\cg.dll" "$(OutDir)\cg.dll"

if exist "$(OGRE_HOME)\bin\debug\OgreMain_d.dll" copy "$(OGRE_HOME)\bin\debug\OgreMain_d.dll" "$(OutDir)\OgreMain_d.dll"
if exist "$(OGRE_HOME)\bin\debug\OIS_d.dll" copy "$(OGRE_HOME)\bin\debug\OIS_d.dll" demos\bin\Debug\OIS_d.dll"
if exist "$(OGRE_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" demos\bin\Debug\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" demos\bin\Debug\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_HOME)\bin\debug\RenderSystem_GL_d.dll" copy "$(OGRE_HOME)\bin\debug\RenderSystem_GL_d.dll" demos\bin\Debug\RenderSystem_GL_d.dll"
if exist "$(OGRE_HOME)\bin\debug\cg.dll" copy "$(OGRE_HOME)\bin\debug\cg.dll" demos\bin\Debug\cg.dll"

if exist "$(OGRE_BUILD_HOME)\bin\debug\OgreMain_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\OgreMain_d.dll" "demos\bin\Release\OgreMain_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\OIS.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\OIS.dll" "demos\bin\Release\OIS.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\Plugin_CgProgramManager_d.dll" "demos\bin\Release\Plugin_CgProgramManager_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\RenderSystem_Direct3D9_d.dll" "demos\bin\Release\RenderSystem_Direct3D9_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\RenderSystem_GL_d.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\RenderSystem_GL_d.dll" "demos\bin\Release\RenderSystem_GL_d.dll"
if exist "$(OGRE_BUILD_HOME)\bin\debug\cg.dll" copy "$(OGRE_BUILD_HOME)\bin\debug\cg.dll" "demos\bin\Release\cg.dll"

copy $(NEWTON_HOME)\sdk\x32\dll_vs9\newton.dll $(OutDir)\newton.dll
copy $(NEWTON_HOME)\sdk\x32\dJointLibrary_d.dll $(OutDir)\dJointLibrary_d.dll
" /> <Tool Name="VCCustomBuildTool" Modified: branches/ogrenewt/newton20/src/OgreNewt_Body.cpp =================================================================== --- branches/ogrenewt/newton20/src/OgreNewt_Body.cpp 2010-09-08 18:40:56 UTC (rev 2967) +++ branches/ogrenewt/newton20/src/OgreNewt_Body.cpp 2010-09-09 17:19:43 UTC (rev 2968) @@ -484,9 +484,13 @@ #ifndef WIN32 m_world->ogreCriticalSectionLock(); #endif - m_node->setPosition(m_nodePosit); - m_node->setOrientation(m_nodeRotation); + // Set position in global space + Ogre::Node* m_nodeParent = m_node->getParent(); + + m_node->setPosition((m_nodeParent->_getDerivedOrientation().Inverse() * (m_nodePosit - m_nodeParent->_getDerivedPosition()) / m_nodeParent->_getDerivedScale())); + m_node->setOrientation((m_nodeParent->_getDerivedOrientation().Inverse() * m_nodeRotation)); + if (m_nodeupdatenotifycallback) { m_nodeupdatenotifycallback (this); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |