From a422d80d258826541c47e31079988851c9d37c18 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 14 Oct 2016 11:34:20 +0300 Subject: [PATCH] porting on linux --- src/HYDROData/HYDROData_DTM.cxx | 3 ++- src/HYDROGUI/HYDROGUI_StreamOp.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/HYDROData/HYDROData_DTM.cxx b/src/HYDROData/HYDROData_DTM.cxx index 9ac801dc..5134765d 100644 --- a/src/HYDROData/HYDROData_DTM.cxx +++ b/src/HYDROData/HYDROData_DTM.cxx @@ -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() ); + std::set InvInd; + CreateProfilesFromDTM( objs, ddz, step, points, Out3dPres, Out2dPres, OutLeftB, OutRightB, OutInlet, OutOutlet, true, true, InvInd ); SetAltitudePoints( points ); SetShape( DataTag_LeftBankShape, OutLeftB); diff --git a/src/HYDROGUI/HYDROGUI_StreamOp.cxx b/src/HYDROGUI/HYDROGUI_StreamOp.cxx index ffbc32b0..72702a6a 100755 --- a/src/HYDROGUI/HYDROGUI_StreamOp.cxx +++ b/src/HYDROGUI/HYDROGUI_StreamOp.cxx @@ -357,7 +357,8 @@ void HYDROGUI_StreamOp::createPreview() std::set 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(); -- 2.39.2