From a09505c55be4bdcb72ceaab5198f8442469c3509 Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 24 Jun 2008 12:46:12 +0000 Subject: [PATCH] Fix for Bug VISU200819964 - Disabled Sweep dialog box can be opened for presentation not shown in 3D Viewer but slider of this dialog constantly moves along of time scale --- src/VISUGUI/VisuGUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index bbe027eb..0e138ad5 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2729,7 +2729,7 @@ VisuGUI aRule = "selcount=1 and type='VISU::TCUTLINES' and nbNamedChildren=0"; mgr->setRule( action( VISU_CREATE_TABLE ), aRule ); - aRule = "selcount=1 and ($type in {" + aSimplePrsAll + "})"; + aRule = "client='VTKViewer' and selcount=1 and ($type in {" + aSimplePrsAll + "})"; mgr->setRule( action( VISU_SWEEP ), aRule ); // "Selection info" popup item -- 2.39.2