From: adv Date: Sat, 28 Dec 2013 07:24:44 +0000 (+0000) Subject: Bathymetry prs corrected according to new API. X-Git-Tag: BR_hydro_v_0_7~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4201ecae469480e81c8cbe439fb33c220cb2154;p=modules%2Fhydro.git Bathymetry prs corrected according to new API. --- diff --git a/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.cxx b/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.cxx index 13c19b97..b02bd0e2 100644 --- a/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.cxx +++ b/src/HYDROGUI/HYDROGUI_VTKPrsBathymetry.cxx @@ -91,7 +91,7 @@ void HYDROGUI_VTKPrsBathymetry::compute() double aZ; int anInvalidZ = InvalidZValue(); - for (int i = 0; i < aNbPoints; i++ ) + for (int i = 1; i <= aNbPoints; i++ ) { anAltPnt = anAltPoints.Value( i ); aZ = anAltPnt.Z();