]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the issue #2300: Wrong ExtrusionCut result
authormpv <mpv@opencascade.com>
Tue, 21 Nov 2017 13:00:46 +0000 (16:00 +0300)
committermpv <mpv@opencascade.com>
Tue, 21 Nov 2017 13:00:46 +0000 (16:00 +0300)
src/Model/Model_BodyBuilder.cpp

index 9d4fa071f8d0ac58404226a72df520b2e64ae11c..24acebc1736d86712342fb8787224d2df1ec5291 100755 (executable)
@@ -270,6 +270,8 @@ void Model_BodyBuilder::clean()
     }
   }
   myBuilders.clear();
+  // remove the old reference (if any)
+  aLab.ForgetAttribute(TDF_Reference::GetID());
 }
 
 Model_BodyBuilder::~Model_BodyBuilder()