From: dbv Date: Mon, 29 Oct 2018 11:49:25 +0000 (+0300) Subject: Fix for generated names wrong index. Map now properly cleared. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5f27b13c4e6702fb4c8fa6328c00cb11f047f2b8;p=modules%2Fshaper.git Fix for generated names wrong index. Map now properly cleared. --- diff --git a/src/Model/Model_BodyBuilder.cpp b/src/Model/Model_BodyBuilder.cpp index 30fb12584..c751bcba9 100755 --- a/src/Model/Model_BodyBuilder.cpp +++ b/src/Model/Model_BodyBuilder.cpp @@ -282,6 +282,7 @@ void Model_BodyBuilder::clean() } } myBuilders.clear(); + myPrimitivesNamesIndexMap.clear(); // remove the old reference (if any) aLab.ForgetAttribute(TDF_Reference::GetID()); myFreePrimitiveTag = PRIMITIVES_START_TAG;