]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Werror ...
authoradam <adam>
Mon, 17 May 2010 15:48:52 +0000 (15:48 +0000)
committeradam <adam>
Mon, 17 May 2010 15:48:52 +0000 (15:48 +0000)
src/SVTK/SVTK_Recorder.cxx

index 84a3221eb8fa230b05045497321be6936f05cce9..bba8a401f580fa815a90b719ea9dcc36d2426f88 100755 (executable)
@@ -322,7 +322,7 @@ int
 GetFrameIndex(double theStartTime,
               double theFPS)
 {
-  double aTimeNow = vtkTimerLog::GetCurrentTime();
+  double aTimeNow = vtkTimerLog::GetUniversalTime();
   double aDelta = aTimeNow - theStartTime;
   return int(aDelta*theFPS);
 }
@@ -336,7 +336,7 @@ SVTK_Recorder
 
   if(myFrameIndex < 0){
     myFrameIndex = 0;
-    myTimeStart = vtkTimerLog::GetCurrentTime();
+    myTimeStart = vtkTimerLog::GetUniversalTime();
   }else{
     int aFrameIndex = GetFrameIndex(myTimeStart,myNbFPS);
     if(aFrameIndex <= myFrameIndex)