From: vsr Date: Thu, 7 May 2015 11:08:49 +0000 (+0300) Subject: 22853: EDF 9924 GEOM: Dimension histogram X-Git-Tag: V7_7_0a1~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cf8092c35525622bdca3515afae15c6d7d245046;p=modules%2Fgeom.git 22853: EDF 9924 GEOM: Dimension histogram - Alternative fix for list of shapes case, as previous one is incorrect. --- diff --git a/src/GEOMUtils/GEOMUtils_ShapeStatistics.cxx b/src/GEOMUtils/GEOMUtils_ShapeStatistics.cxx index 37b5f6b2c..4ef3b8658 100644 --- a/src/GEOMUtils/GEOMUtils_ShapeStatistics.cxx +++ b/src/GEOMUtils/GEOMUtils_ShapeStatistics.cxx @@ -83,7 +83,7 @@ namespace GEOMUtils // keep measures to distribute it measures[shift+index] = aMeasure; } - shift += aNbS; + shift += aSubShapesMap.Extent(); } return measures; }