don't lie about painting time causes speed doubling

BUG: 301609
FIXED-IN: 4.9
REVIEW: 105330
This commit is contained in:
Thomas Lübking 2012-06-11 19:47:14 +02:00
parent 8cae5fc073
commit 0618a86a90

View file

@ -171,7 +171,7 @@ void Scene::updateTimeDiff()
// the extra wspace->nextFrameDelay() basically means that we lie to the effect about the passed
// time - as a result the (animated) effect will run up to a frame shorter but in return stick
// closer to the runtime from the trigger
time_diff = last_time.restart() + wspace->nextFrameDelay();
time_diff = last_time.restart()/* + wspace->nextFrameDelay()*/;
if (time_diff < 0) // check time rollback
time_diff = 1;