From: apo Date: Wed, 1 Aug 2007 09:40:41 +0000 (+0000) Subject: Make "change opacity" functionality available for all 3D presentations X-Git-Tag: mergeto_BR_Dev_For_4_0_30Aug07~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1ddd5f9734f9ad82d4be98b85116bde71cc705a;p=modules%2Fvisu.git Make "change opacity" functionality available for all 3D presentations --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index dbe76f4e..b6c0fb4e 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2583,7 +2583,8 @@ VisuGUI mgr->setRule( action( VISU_COLOR ), aRule + " and ((type='VISU::TMESH'" " and $representation in {'VISU::POINT' 'VISU::WIREFRAME' 'VISU::SHADED' 'VISU::INSIDEFRAME'}) " "or (type='VISU::TDEFORMEDSHAPE' and hasActor=1))", true ); - mgr->setRule( action( VISU_OPACITY ), aRule + aShrinkType + " and hasActor=1", true ); + mgr->setRule( action( VISU_OPACITY ), aRule + " and hasActor=1", true ); + mgr->setRule( action( VISU_LINE_WIDTH ), aRule + aLineType + " and hasActor=1", true ); // rename command