From: Paul RASCLE Date: Tue, 26 Nov 2019 21:27:58 +0000 (+0100) Subject: fix change to local CS when import profiles from sinX X-Git-Tag: SH_V2_2_0~99^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0782f4e14e6d203e9983ca7508fca825388871bf;p=modules%2Fhydro.git fix change to local CS when import profiles from sinX --- diff --git a/src/HYDROData/HYDROData_Profile.cxx b/src/HYDROData/HYDROData_Profile.cxx index cf738b2c..bf834894 100644 --- a/src/HYDROData/HYDROData_Profile.cxx +++ b/src/HYDROData/HYDROData_Profile.cxx @@ -53,6 +53,9 @@ #include #include +//#define _DEVDEBUG_ +#include "HYDRO_trace.hxx" + IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Profile, HYDROData_Object) HYDROData_Profile::HYDROData_Profile() diff --git a/src/HYDROData/HYDROData_SinusX.cxx b/src/HYDROData/HYDROData_SinusX.cxx index 4e936852..8ffc1319 100644 --- a/src/HYDROData/HYDROData_SinusX.cxx +++ b/src/HYDROData/HYDROData_SinusX.cxx @@ -35,6 +35,9 @@ #include #include +//#define _DEVDEBUG_ +#include "HYDRO_trace.hxx" + HYDROData_SinusX::HYDROData_SinusX( ) { } @@ -236,7 +239,7 @@ void HYDROData_SinusX::SXToHydro(Handle(HYDROData_Document) theDocument, NCollec } aProfile->GetProfileUZ()->SetSectionType(0, myCurveBlocks[i].myIsSpline ? HYDROData_PolylineXY::SECTION_SPLINE : HYDROData_PolylineXY::SECTION_POLYLINE); aProfile->GetProfileUZ()->SetSectionClosed(0, myCurveBlocks[i].myIsClosed ? true : false); - aProfile->SetProfilePoints(aPointList); + aProfile->SetProfilePoints(aPointList, false); aProfile->SetName(GetName(myCurveBlocks[i].myName)); theEntities.Append(aProfile); }