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>2006-12-03 02:27:23 +0300
committerErwin Coumans <blender@erwincoumans.com>2006-12-03 02:27:23 +0300
commit76616f2a3bc483e369c7349d2b3e072bde7c7325 (patch)
treeadab23d33870a5b1bf9a31605fe7f26887e5f320 /source/gameengine/Ketsji/KX_KetsjiEngine.cpp
parent438d114f1ac3c8eaa4c1d9d8ffa31271a51c85e6 (diff)
gameengine: reverted some timing experiment
Diffstat (limited to 'source/gameengine/Ketsji/KX_KetsjiEngine.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_KetsjiEngine.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
index dcb8e082065..84fb5094b81 100644
--- a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
+++ b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
@@ -378,17 +378,11 @@ else
bool doRender = frames>0;
- float remainingTimeFraction = 0.f;
-
- if (frames>0)
- {
- remainingTimeFraction = (m_clockTime - m_frameTime - frames*(1.0/m_ticrate)) / frames;
- }
while (frames)
{
- m_frameTime += 1.0/m_ticrate + remainingTimeFraction;
+ m_frameTime += 1.0/m_ticrate;
for (sceneit = m_scenes.begin();sceneit != m_scenes.end(); ++sceneit)
// for each scene, call the proceed functions