From fa68e89e6cb23751af5c25cba8141d0b7e586b34 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Wed, 16 Nov 2011 22:38:50 +0000 Subject: [PATCH] - add fix for video recorders IsoTimer getTime() git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8706 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/desktop/com/jme3/app/state/VideoRecorderAppState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/desktop/com/jme3/app/state/VideoRecorderAppState.java b/engine/src/desktop/com/jme3/app/state/VideoRecorderAppState.java index a939f73f7..e755546cf 100644 --- a/engine/src/desktop/com/jme3/app/state/VideoRecorderAppState.java +++ b/engine/src/desktop/com/jme3/app/state/VideoRecorderAppState.java @@ -58,7 +58,7 @@ public class VideoRecorderAppState extends AbstractAppState { } public long getTime() { - return (long) (this.ticks / this.framerate); + return (long) (this.ticks * (1.0f / this.framerate)); } public long getResolution() {