From: enk Date: Mon, 18 Sep 2006 05:44:26 +0000 (+0000) Subject: Fix for Bug IPAL12882 X-Git-Tag: V3_2_2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1a9c964925ff8c754ffdc0f38bb2dfcedd9c4135;p=modules%2Fvisu.git Fix for Bug IPAL12882 Setup Aniamtion: "Use range of time stamps" discards modification of properties It's unnecessaty to recompute values for properties, if ranges was't changed. --- diff --git a/src/VISUGUI/VisuGUI_TimeAnimation.cxx b/src/VISUGUI/VisuGUI_TimeAnimation.cxx index d177ff91..91d6fd39 100644 --- a/src/VISUGUI/VisuGUI_TimeAnimation.cxx +++ b/src/VISUGUI/VisuGUI_TimeAnimation.cxx @@ -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);