From: adam Date: Mon, 17 May 2010 15:48:52 +0000 (+0000) Subject: Werror ... X-Git-Tag: translate_resources_09Jul10~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7d4b30a7d4a4edb3109c6d55897fc64e88af893e;p=modules%2Fgui.git Werror ... --- 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)