Salome HOME
refs #640: correct width for non-georeferenced profile
[modules/hydro.git] / src / HYDROData / HYDROData_PolylineXY.cxx
index 8071d35cb837a8e5a0c7d6007e9c7e6c62dde749..37559e3f3a43775ac7c1ef4a4c9501e839f5c9e2 100755 (executable)
@@ -1183,8 +1183,10 @@ bool HYDROData_PolylineXY::IsCustom() const
 {
   bool isNull = getPolylineShape().IsNull();
   int aNbPoints = 0;
-  for( int i=0, n=NbSections(); i<n; i++ )
-    aNbPoints += NbPoints( i );
+
+  //TODO: to check if there is no points
+  //for( int i=0, n=NbSections(); i<n; i++ )
+  //  aNbPoints += NbPoints( i );
 
   return !isNull && aNbPoints == 0;
 }