]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Bug IPAL22920: TC6.5.0: The scalar bar doesn't displayed
authorouv <ouv@opencascade.com>
Thu, 26 Apr 2012 14:02:13 +0000 (14:02 +0000)
committerouv <ouv@opencascade.com>
Thu, 26 Apr 2012 14:02:13 +0000 (14:02 +0000)
src/OBJECT/SMESH_Actor.cxx

index 683e6cb6fb77114d8fe6d598137eb5415ab606b0..f46baed8c209f16c2f12169b01fbb0a9e4bf338f 100644 (file)
@@ -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();