From: ouv Date: Fri, 5 Jun 2009 10:50:01 +0000 (+0000) Subject: Fix of bug IPAL21163 - TC5.1.2: Scalar bar on Gauss Points created in Geometry mode X-Git-Tag: V5_1_2rc2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=de8d5dfafdf3d5a44639b745f65dfd41ce2bc05f;p=modules%2Fvisu.git Fix of bug IPAL21163 - TC5.1.2: Scalar bar on Gauss Points created in Geometry mode --- diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index 04d52a8b..bf30507b 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -1012,7 +1012,7 @@ VISU::GaussPoints_i myColor.blue() / 255.0); } - anActor->SetBarVisibility(myShowBar); + anActor->SetBarVisibility(myShowBar && GetIsColored()); if( GetSpecificPL()->GetPrimitiveType() != VISU_OpenGLPointSpriteMapper::GeomSphere ) theActor->SetRepresentation( VTK_POINTS );