]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Make "change opacity" functionality available for all 3D presentations
authorapo <apo@opencascade.com>
Wed, 1 Aug 2007 09:40:41 +0000 (09:40 +0000)
committerapo <apo@opencascade.com>
Wed, 1 Aug 2007 09:40:41 +0000 (09:40 +0000)
src/VISUGUI/VisuGUI.cxx

index dbe76f4e384b3ab111628481709b1009bde2b951..b6c0fb4ecb1eedf17d1cf0ba1bc7c9a4cf3a1d18 100644 (file)
@@ -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