From: asl Date: Fri, 14 Oct 2016 08:34:20 +0000 (+0300) Subject: porting on linux X-Git-Tag: v1.6~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a422d80d258826541c47e31079988851c9d37c18;p=modules%2Fhydro.git porting on linux --- 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();