From de8d5dfafdf3d5a44639b745f65dfd41ce2bc05f Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 5 Jun 2009 10:50:01 +0000 Subject: [PATCH] Fix of bug IPAL21163 - TC5.1.2: Scalar bar on Gauss Points created in Geometry mode --- src/VISU_I/VISU_GaussPoints_i.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.2