X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkMeshViewer.cxx;h=c21bc4e43f31cf7e9d64936076b1411ad4562d48;hb=543b72e23ad001ac2a7743b9beacf48e2d0054ac;hp=3cfffbbb57f7d8adea6864bf9befe04316565caa;hpb=dacff874d9d3cc4cf26429dc677832d221b963c3;p=clitk.git diff --git a/tools/clitkMeshViewer.cxx b/tools/clitkMeshViewer.cxx index 3cfffbb..c21bc4e 100644 --- a/tools/clitkMeshViewer.cxx +++ b/tools/clitkMeshViewer.cxx @@ -75,7 +75,7 @@ public: m_rActors[m_CurrentActor]->SetVisibility(0); - int step = round(m_Fps * info->AnimationTime); + int step = lrint(m_Fps * info->AnimationTime); int actor = step % m_rActors.size(); //if (actor != m_CurrentActor) std::cout << "Showing frame: " << m_CurrentActor << std::endl;