]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL12882
authorenk <enk@opencascade.com>
Mon, 18 Sep 2006 05:44:26 +0000 (05:44 +0000)
committerenk <enk@opencascade.com>
Mon, 18 Sep 2006 05:44:26 +0000 (05:44 +0000)
  Setup Aniamtion: "Use range of time stamps" discards modification of properties

It's unnecessaty to recompute values for properties, if ranges was't changed.

src/VISUGUI/VisuGUI_TimeAnimation.cxx

index d177ff9130a56811b74b87c7ebe02f4834ba7fa0..91d6fd39fc44b869568fcf682dc213654a118dc1 100644 (file)
@@ -834,8 +834,8 @@ void SetupDlg::onArrangeDlg()
 //------------------------------------------------------------------------
 void SetupDlg::onRangeCheck (bool theCheck)
 {
-  for (int i = 0; i < myAnimator->getNbFields(); i++)
-    myAnimator->clearData(myAnimator->getFieldData(i));
+//   for (int i = 0; i < myAnimator->getNbFields(); i++)
+//     myAnimator->clearData(myAnimator->getFieldData(i));
 
   myMinVal->setEnabled(theCheck);
   myMaxVal->setEnabled(theCheck);