From: ouv Date: Fri, 29 Apr 2011 06:37:32 +0000 (+0000) Subject: Bug IPAL22441: TC6.3.0: line width is present in properties of presentation by points X-Git-Tag: V6_3_BR20110503 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b92805eddd1de6ea797b5df7de0c7283be1dacb1;p=modules%2Fvisu.git Bug IPAL22441: TC6.3.0: line width is present in properties of presentation by points --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 2f513f53..e28fa3a3 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -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" );