From: apo Date: Tue, 24 Jun 2008 12:46:12 +0000 (+0000) Subject: Fix for Bug VISU200819964 X-Git-Tag: TG_VISU_2008_2008-06-26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a09505c55be4bdcb72ceaab5198f8442469c3509;p=modules%2Fvisu.git 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 --- 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