From a8b9b691e20a4a7c8ea890d2015de97ed414cd5d Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 20 Mar 2009 09:05:10 +0000 Subject: [PATCH] IPAL20955 TC5.1.1: Plot2d scene popup has no "Show, Hide, Show only" items --- src/VISUGUI/VisuGUI.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.39.2