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 );