From: dmv Date: Fri, 20 Mar 2009 09:05:10 +0000 (+0000) Subject: IPAL20955 TC5.1.1: Plot2d scene popup has no "Show, Hide, Show only" items X-Git-Tag: V4_1_0_maintainance_20090323~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a8b9b691e20a4a7c8ea890d2015de97ed414cd5d;p=modules%2Fvisu.git IPAL20955 TC5.1.1: Plot2d scene popup has no "Show, Hide, Show only" items --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 51d3d14f..6270789c 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2743,13 +2743,13 @@ VisuGUI QString aComponent = "( selcount=1 and canBeDisplayed and isVisuComponent )"; QString anEraseRule = "( selcount>0 and ({true} in $canBeDisplayed) and (" + aPrsVisible + - " or (client='ObjectBrowser' and (" + aTableOrContHide + orCurveVisible + "))) ) or " + aComponent; + " or ((" + aTableOrContHide + orCurveVisible + "))) ) or " + aComponent; QString aDisplayRule = "( selcount>0 and ({true} in $canBeDisplayed) and (" + aPrsInvisible + - " or (client='ObjectBrowser' and (" + aTableOrContShow + orCurveInvisible + "))) ) or " + aComponent; + " or ((" + aTableOrContShow + orCurveInvisible + "))) ) or " + aComponent; QString aDOnlyRule = "( selcount>0 and ({true} in $canBeDisplayed) and (($type in {'VISU::TMESH' 'VISU::TPOINTMAP3D'" + aPrsAll + "})" - " or (client='ObjectBrowser' and ((type='VISU::TTABLE' and nbChildren>0) or" + " or (((type='VISU::TTABLE' and nbChildren>0) or" " ($type in {'VISU::TCURVE' 'VISU::TCONTAINER'})))) ) or" + aComponent; mgr->setRule( action( VISU_ERASE ), anEraseRule, true );