- add fix for video recorders IsoTimer getTime()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8706 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent e8ffefe0e4
commit fa68e89e6c
  1. 2
      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() {

Loading…
Cancel
Save