From: ouv Date: Thu, 13 Oct 2005 11:23:49 +0000 (+0000) Subject: Actions Display/Erase of Gauss Points presentation added to popup X-Git-Tag: TG-D5-38-2003_D2005-20-12~171 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=79a5212844075d231479d2a7081a308bc01a29dc;p=modules%2Fvisu.git Actions Display/Erase of Gauss Points presentation added to popup --- diff --git a/src/VISUGUI/VisuGUI_Module.cxx b/src/VISUGUI/VisuGUI_Module.cxx index 58f1fe48..dff0fe86 100644 --- a/src/VISUGUI/VisuGUI_Module.cxx +++ b/src/VISUGUI/VisuGUI_Module.cxx @@ -264,27 +264,6 @@ VisuGUI_Module mgr->setRule( action( GAUSS_DISPLAY_ONLY_PRS ), aRule, true ); - QString aSVTKCompatiblePrs; - aSVTKCompatiblePrs = - "'VISU::TSCALARMAP' " - "'VISU::TISOSURFACE' " - "'VISU::TDEFORMEDSHAPE' " - "'VISU::TCUTPLANES' " - "'VISU::TCUTLINES' " - "'VISU::TVECTORS' " - "'VISU::TSTREAMLINES' " - "'VISU::TPLOT3D'"; - - aRule = - "(client='ObjectBrowser' and selcount>0 and (" - "(type='VISU::TTABLE' and nbChildren>0) or " - "($type in {'VISU::TCURVE' 'VISU::TCONTAINER'}) or " - "$type in {" + aSVTKCompatiblePrs +"} or " - "$type='VISU::TGAUSSPOINTS' " - ")) and (isVisible=false)"; - - mgr->setRule( action( VISU_DISPLAY ), aRule, true ); - mgr->setRule( action( VISU_SAVE_VIEW_PARAMS ), "selcount=1 and $type in {'VISU::TVIEW3D' VISU::TGAUSSVIEW}", true ); mgr->setRule( action( VISU_SAVE_VIEW_PARAMS_1 ), "$client in {'VTKViewer' 'SVTK'} and selcount=0", true ); aRule = "selcount=1 and "