]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
porting on linux
authorasl <asl@opencascade.com>
Fri, 14 Oct 2016 08:34:20 +0000 (11:34 +0300)
committerasl <asl@opencascade.com>
Fri, 14 Oct 2016 08:34:20 +0000 (11:34 +0300)
src/HYDROData/HYDROData_DTM.cxx
src/HYDROGUI/HYDROGUI_StreamOp.cxx

index 9ac801dcfb81fb2c8eb5b5aea323e07d5808f646..5134765d3184e6668f1658b176d0c581acc72e2f 100644 (file)
@@ -201,7 +201,8 @@ void HYDROData_DTM::Update()
   HYDROData_SequenceOfObjects objs = GetProfiles();  
   double ddz = GetDDZ();
   double step = GetSpatialStep();
-  CreateProfilesFromDTM( objs, ddz, step, points, Out3dPres, Out2dPres, OutLeftB, OutRightB, OutInlet, OutOutlet, true, true, std::set<int>() );
+  std::set<int> InvInd;
+  CreateProfilesFromDTM( objs, ddz, step, points, Out3dPres, Out2dPres, OutLeftB, OutRightB, OutInlet, OutOutlet, true, true, InvInd );
   SetAltitudePoints( points );  
 
   SetShape( DataTag_LeftBankShape, OutLeftB);
index ffbc32b0563152abb188e29754ffc7a801173aab..72702a6a063d41525f5a69d6509bb9c65d554300 100755 (executable)
@@ -357,7 +357,8 @@ void HYDROGUI_StreamOp::createPreview()
 
   std::set<int> InvInd;
     
-  HYDROData_DTM::CreateProfilesFromDTM( aRefProfiles, ddz, ss, HYDROData_Bathymetry::AltitudePoints(), Out3dPres, Out2dPres, OutLeftB, OutRightB,
+  HYDROData_Bathymetry::AltitudePoints points;
+  HYDROData_DTM::CreateProfilesFromDTM( aRefProfiles, ddz, ss, points, Out3dPres, Out2dPres, OutLeftB, OutRightB,
     OutInlet, OutOutlet, true, true, InvInd);
 
   aPanel->clearAllBackgroundColorsForProfileList();