From cf8092c35525622bdca3515afae15c6d7d245046 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 7 May 2015 14:08:49 +0300 Subject: [PATCH] 22853: EDF 9924 GEOM: Dimension histogram - Alternative fix for list of shapes case, as previous one is incorrect. --- src/GEOMUtils/GEOMUtils_ShapeStatistics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2