]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
*** empty log message ***
authorasl <asl@opencascade.com>
Fri, 6 Dec 2013 11:09:50 +0000 (11:09 +0000)
committerasl <asl@opencascade.com>
Fri, 6 Dec 2013 11:09:50 +0000 (11:09 +0000)
src/HYDROGUI/HYDROGUI_Shape.cxx

index b9b656c565561c4eea7f053fe9b8cf4e33309f0f..7da7d79cc08867fab9fd8bc4ec1cb97e09ac63a6 100644 (file)
@@ -347,7 +347,8 @@ void HYDROGUI_Shape::update( const bool theIsUpdateViewer )
       Handle(HYDROData_Channel) aChannel =
         Handle(HYDROData_Channel)::DownCast( myObject );
 
-      TopoDS_Face aChannelShape = TopoDS::Face( aChannel->GetTopShape() );
+      TopoDS_Face aChannelShape2d = TopoDS::Face( aChannel->GetTopShape() );
+      TopoDS_Shape aChannelShape = aChannel->GetShape3D();
 
       setShape( aChannelShape, false, false );