From 2820a1f4283dfca3a02d7c5725faff632617f511 Mon Sep 17 00:00:00 2001 From: asl Date: Tue, 30 Jun 2015 12:13:02 +0300 Subject: [PATCH] patch for crash --- src/HYDROData/HYDROData_PolylineXY.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/HYDROData/HYDROData_PolylineXY.cxx b/src/HYDROData/HYDROData_PolylineXY.cxx index 8071d35c..37559e3f 100755 --- a/src/HYDROData/HYDROData_PolylineXY.cxx +++ b/src/HYDROData/HYDROData_PolylineXY.cxx @@ -1183,8 +1183,10 @@ bool HYDROData_PolylineXY::IsCustom() const { bool isNull = getPolylineShape().IsNull(); int aNbPoints = 0; - for( int i=0, n=NbSections(); i