From 795de88a52bb89d0cfa1dddee7c07962ef090c77 Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 26 Apr 2012 14:02:13 +0000 Subject: [PATCH] Bug IPAL22920: TC6.5.0: The scalar bar doesn't displayed --- src/OBJECT/SMESH_Actor.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/OBJECT/SMESH_Actor.cxx b/src/OBJECT/SMESH_Actor.cxx index 683e6cb6f..f46baed8c 100644 --- a/src/OBJECT/SMESH_Actor.cxx +++ b/src/OBJECT/SMESH_Actor.cxx @@ -1244,8 +1244,6 @@ void SMESH_ActorDef::SetVisibility(int theMode, bool theIsUpdateRepersentation){ case eFreeEdges: case eFreeBorders: case eCoincidentElems1D: - case eLength2D: - case eMultiConnection2D: my1DExtActor->VisibilityOn(); break; case eFreeFaces: @@ -1259,6 +1257,9 @@ void SMESH_ActorDef::SetVisibility(int theMode, bool theIsUpdateRepersentation){ case eCoincidentElems3D: my3DExtActor->VisibilityOn(); break; + case eLength2D: + case eMultiConnection2D: + my1DExtActor->VisibilityOn(); default: if(myControlActor->GetUnstructuredGrid()->GetNumberOfCells()) myScalarBarActor->VisibilityOn(); -- 2.39.2