From 5f27b13c4e6702fb4c8fa6328c00cb11f047f2b8 Mon Sep 17 00:00:00 2001 From: dbv Date: Mon, 29 Oct 2018 14:49:25 +0300 Subject: [PATCH] Fix for generated names wrong index. Map now properly cleared. --- src/Model/Model_BodyBuilder.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2