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-Tag: End2018~244 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3ea2f3f1726e7560ed8c43b87eb3474314faefd;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;