diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/gameengine/Ketsji/KX_KetsjiEngine.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp index 3c2f3e04aac..a3a4a556956 100644 --- a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp +++ b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp @@ -1204,6 +1204,11 @@ void KX_KetsjiEngine::SetUseFixedTime(bool bUseFixedTime) void KX_KetsjiEngine::SetGame2IpoMode(bool game2ipo,int startFrame) { m_game2ipo = game2ipo; + if (game2ipo) + { + //when recording physics keyframes, always run at a fixed framerate + m_bFixedTime = true; + } m_currentFrame = startFrame; } |