X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_PolylineOperator.cxx;h=7e44abefa551166741ff52efc984e12951d4047a;hb=e744ba34fd38d6744d11b54cd15b6f86350695b2;hp=3a4183e8db3fd7b46fa85cdff3508f6b64225d73;hpb=19ae50f3858a077a34385debc9e08de1d8fc42b9;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_PolylineOperator.cxx b/src/HYDROData/HYDROData_PolylineOperator.cxx index 3a4183e8..7e44abef 100644 --- a/src/HYDROData/HYDROData_PolylineOperator.cxx +++ b/src/HYDROData/HYDROData_PolylineOperator.cxx @@ -20,7 +20,9 @@ #include #include +#ifndef LIGHT_MODE #include +#endif #include #include @@ -45,6 +47,7 @@ #include #include #include +#include template void append( std::vector& theList, const std::vector& theList2 ) { @@ -331,7 +334,9 @@ double HYDROData_PolylineOperator::ReduceDeflection( } Handle(Geom_BSplineCurve) aBSpline2; const bool isClosed = theCurve.IsClosed(); +#ifndef LIGHT_MODE if (!CurveCreator_Utils::constructBSpline(aPs2, isClosed, aBSpline2)) +#endif { return -1; }