Salome HOME
export of 3D poly to SHP (lot 5)
[modules/hydro.git] / src / HYDROData / HYDROData_BSplineOperation.cxx
index 058005d9fdc62d228ad29fc929ecba8f07ac42c7..64ae37d4cb6ce8342354165aaafc3bf44e8d304b 100644 (file)
@@ -23,9 +23,7 @@
 #include <TColgp_HArray1OfPnt.hxx>
 #include <QPainterPath>
 
-#ifndef LIGHT_MODE
 #include <CurveCreator_Utils.hxx>
-#endif
 
 Handle(Geom_BSplineCurve) HYDROData_BSplineOperation::ComputeCurve(
   const NCollection_Sequence<gp_XYZ>& thePoints,
@@ -58,11 +56,9 @@ Handle(Geom_BSplineCurve) HYDROData_BSplineOperation::ComputeCurve(
 
   // compute BSpline
   Handle(Geom_BSplineCurve) aBSpline;
-#ifndef LIGHT_MODE
   if( CurveCreator_Utils::constructBSpline( aHCurvePoints, theIsClosed, aBSpline ) )
     return aBSpline;
   else
-#endif
     return Handle(Geom_BSplineCurve)();
 }