Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2005-08-23 17:16:02 +0400
committerErwin Coumans <blender@erwincoumans.com>2005-08-23 17:16:02 +0400
commit056a33ac699f0393b87503536b5492f03fd6b55a (patch)
tree1f23c3d9ef4d44ed9a48097b914481f5822830de /source/gameengine/GamePlayer/common/GPC_Engine.cpp
parent0192536102a0d0179f2cb09e62c7035c13ce3723 (diff)
new game-menu option 'Record Game Physics to Ipo'
including implementation. hope it works, and doesn't break to much. it bakes physics objects transform into ipo, every frame of the running gameengine. When you disable and run the game again, it clears the ipo's again. just for physics objects at the moment. (perhaps some better UI in the future?)
Diffstat (limited to 'source/gameengine/GamePlayer/common/GPC_Engine.cpp')
-rw-r--r--source/gameengine/GamePlayer/common/GPC_Engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_Engine.cpp b/source/gameengine/GamePlayer/common/GPC_Engine.cpp
index 7316c62f88e..0986b8cee55 100644
--- a/source/gameengine/GamePlayer/common/GPC_Engine.cpp
+++ b/source/gameengine/GamePlayer/common/GPC_Engine.cpp
@@ -185,7 +185,7 @@ bool GPC_Engine::StartKetsji(void)
m_portal = new KetsjiPortal(ketsjieng);
m_portal->setSecurity(psl_Highest);
- KX_ISceneConverter *sceneconverter = new KX_BlenderSceneConverter(G.main, ketsjieng);
+ KX_ISceneConverter *sceneconverter = new KX_BlenderSceneConverter(&G, ketsjieng);
m_portal->Enter(
startSceneName,