From 1a9c964925ff8c754ffdc0f38bb2dfcedd9c4135 Mon Sep 17 00:00:00 2001 From: enk Date: Mon, 18 Sep 2006 05:44:26 +0000 Subject: [PATCH] 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. --- src/VISUGUI/VisuGUI_TimeAnimation.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2