]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
fix change to local CS when import profiles from sinX
authorPaul RASCLE <paul.rascle@edf.fr>
Tue, 26 Nov 2019 21:27:58 +0000 (22:27 +0100)
committerPaul RASCLE <paul.rascle@edf.fr>
Tue, 26 Nov 2019 21:27:58 +0000 (22:27 +0100)
src/HYDROData/HYDROData_Profile.cxx
src/HYDROData/HYDROData_SinusX.cxx

index cf738b2c929e0b8d03ffd9177af4de4750fb387a..bf834894e2434d281261f4a3803e03d7852768e9 100644 (file)
@@ -53,6 +53,9 @@
 #include <QColor>
 #include <QStringList>
 
+//#define _DEVDEBUG_
+#include "HYDRO_trace.hxx"
+
 IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Profile, HYDROData_Object)
 
 HYDROData_Profile::HYDROData_Profile()
index 4e9368525f26778ee220812792fad125371a4097..8ffc1319d9f62f9d5086c7e28b64d949d5aa377a 100644 (file)
@@ -35,6 +35,9 @@
 #include <QTextStream>
 #include <QColor>
 
+//#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);
         }