]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
bug #247
authorasl <asl@opencascade.com>
Tue, 17 Dec 2013 13:09:52 +0000 (13:09 +0000)
committerasl <asl@opencascade.com>
Tue, 17 Dec 2013 13:09:52 +0000 (13:09 +0000)
src/HYDROGUI/HYDROGUI_Shape.cxx

index ceafe1eb669f408b4fbcfe5fc72bcbec1cf95f31..597c9db775e82e70464816dee99f4e502f7c7f1c 100644 (file)
@@ -671,7 +671,10 @@ void HYDROGUI_Shape::colorShapeBorder( const QColor& theColor )
 
       Handle(Prs3d_LineAspect) aBoundaryAspect = anAttributes->FaceBoundaryAspect();
       if ( !aBoundaryAspect.IsNull() )
+      {
         aBoundaryAspect->SetColor( aBorderColor );
+        anAttributes->SetFaceBoundaryAspect( aBoundaryAspect );
+      }
     }
   }
   else if ( myDisplayMode == AIS_WireFrame )