From 7d4b30a7d4a4edb3109c6d55897fc64e88af893e Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 17 May 2010 15:48:52 +0000 Subject: [PATCH] Werror ... --- src/SVTK/SVTK_Recorder.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SVTK/SVTK_Recorder.cxx b/src/SVTK/SVTK_Recorder.cxx index 84a3221eb..bba8a401f 100755 --- a/src/SVTK/SVTK_Recorder.cxx +++ b/src/SVTK/SVTK_Recorder.cxx @@ -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) -- 2.39.2