]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Minor changes for previous commit.
authoradv <adv@opencascade.com>
Tue, 21 Jan 2014 11:56:27 +0000 (11:56 +0000)
committeradv <adv@opencascade.com>
Tue, 21 Jan 2014 11:56:27 +0000 (11:56 +0000)
src/HYDROData/HYDROData_Channel.cxx

index b9424614e234a427eb9d92acf77bcc4cbebe9f74..ab054c726d6d2ed1a744b90499ced9cd1b03ee81 100644 (file)
@@ -13,7 +13,6 @@
 #include <BRepOffsetAPI_MakePipeShell.hxx>
 #include <BRepOffsetAPI_MakePipe.hxx>
 #include <BRepCheck_Analyzer.hxx>
-#include <BRepTools.hxx>
 
 #include <TopExp.hxx>
 
@@ -114,8 +113,10 @@ void HYDROData_Channel::Update()
   SetShape3D( aChannelConstructor.Get3dPresentation() );
   SetTopShape( aChannelConstructor.Get2dPresentation() );
 
+#ifdef DEB_CHANNEL
   BRepTools::Write( aChannelConstructor.Get2dPresentation(), "channel2d.brep" );
   BRepTools::Write( aChannelConstructor.Get3dPresentation(), "channel3d.brep" );
+#endif
 
   TopAbs_ShapeEnum aType = GetTopShape().ShapeType();