]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for generated names wrong index. Map now properly cleared.
authordbv <dbv@opencascade.com>
Mon, 29 Oct 2018 11:49:25 +0000 (14:49 +0300)
committerdbv <dbv@opencascade.com>
Mon, 29 Oct 2018 11:49:50 +0000 (14:49 +0300)
src/Model/Model_BodyBuilder.cpp

index 30fb12584ff1cf293afac68c53d44002d845f55a..c751bcba9cd2433305a664d386092f6d374f421d 100755 (executable)
@@ -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;