From: ouv Date: Thu, 26 Apr 2012 14:02:13 +0000 (+0000) Subject: Bug IPAL22920: TC6.5.0: The scalar bar doesn't displayed X-Git-Tag: TRIPOLI_323~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=795de88a52bb89d0cfa1dddee7c07962ef090c77;p=modules%2Fsmesh.git Bug IPAL22920: TC6.5.0: The scalar bar doesn't displayed --- 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();