]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix of bug IPAL21154 - TC5.1.2: Incorrect GUI of Animation dialog
authorouv <ouv@opencascade.com>
Mon, 8 Jun 2009 13:46:39 +0000 (13:46 +0000)
committerouv <ouv@opencascade.com>
Mon, 8 Jun 2009 13:46:39 +0000 (13:46 +0000)
src/VISUGUI/VisuGUI_TimeAnimation.cxx

index e1afad6a82b07900e9c4f4a223109f7c3b203145..a1083df6ba54e0004bdfff9e06c146fd2351f7d5 100644 (file)
@@ -1792,25 +1792,28 @@ void VisuGUI_TimeAnimationDlg::onPlayPressed()
 //------------------------------------------------------------------------
 void VisuGUI_TimeAnimationDlg::onBackPressed()
 {
-  //stopAnimation();
+  stopAnimation();
   myAnimator->prevFrame();
 }
 
 //------------------------------------------------------------------------
 void VisuGUI_TimeAnimationDlg::onForvardPressed()
 {
+  stopAnimation();
   myAnimator->nextFrame();
 }
 
 //------------------------------------------------------------------------
 void VisuGUI_TimeAnimationDlg::onLastPressed()
 {
+  stopAnimation();
   myAnimator->lastFrame();
 }
 
 //------------------------------------------------------------------------
 void VisuGUI_TimeAnimationDlg::onFirstPressed()
 {
+  stopAnimation();
   myAnimator->firstFrame();
 }