From 28b01155358b4566fe75f2dca00832400be3dc8d Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 7 Oct 2008 10:46:21 +0000 Subject: [PATCH] Fix for bug IPAL17730 (Number of time stamps for animation). --- src/VISUGUI/VisuGUI.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 36dcc5ac..792e8e4f 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2871,9 +2871,9 @@ VisuGUI aRule += " and activeView in {'VTKViewer' 'VVTK'}"; mgr->setRule( action( VISU_PARALLELANIMATION ), aRule, true ); - aRule = "client='ObjectBrowser' and selcount>0"; + aRule = "client='ObjectBrowser'"; + aRule += " and (selcount=1 and nbTimeStamps>1 or selcount>1 and nbTimeStamps>0)"; aRule += " and $type in {'VISU::TFIELD'}"; - aRule += " and nbTimeStamps>0"; aRule += " and activeView in {'VTKViewer' 'VVTK'}"; mgr->setRule( action( VISU_SUCCCESSIVEANIMATION ), aRule, true ); -- 2.39.2