]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Bug IPAL22441: TC6.3.0: line width is present in properties of presentation by points V6_3_BR20110503
authorouv <ouv@opencascade.com>
Fri, 29 Apr 2011 06:37:32 +0000 (06:37 +0000)
committerouv <ouv@opencascade.com>
Fri, 29 Apr 2011 06:37:32 +0000 (06:37 +0000)
src/VISUGUI/VisuGUI.cxx

index 2f513f533ddf64f175107a907b8823cb094173e7..e28fa3a3fc5e7cb4529ac1b7c898d3e1f7aa12ce 100644 (file)
@@ -3246,7 +3246,7 @@ VisuGUI
                " and $representation in {'VISU::POINT' 'VISU::WIREFRAME' 'VISU::SHADED' 'VISU::INSIDEFRAME'}) "
                "or (type='VISU::TDEFORMEDSHAPE' and hasActor=1))" );
   mgr->setRule( action( VISU_OPACITY ), aRule + " and hasActor=1" );
-  mgr->setRule( action( VISU_LINE_WIDTH ), aRule + aLineType + " and hasActor=1" );
+  mgr->setRule( action( VISU_LINE_WIDTH ), aRule + aLineType + " and hasActor=1 and representation!='VISU::POINT'" );
   mgr->setRule( action( VISU_POINT_MARKER ), aRule + aLineType + " and hasActor=1 and representation='VISU::POINT'" );
   mgr->setRule( action( VISU_SHRINK_FACTOR ), aRule + aShrinkType + " and isShrunk=1" );