]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for storing generated faces in ExtrusionCut/Fuse, RevolutionCut/Fuse
authordbv <dbv@opencascade.com>
Thu, 1 Nov 2018 10:22:55 +0000 (13:22 +0300)
committermpv <mpv@opencascade.com>
Mon, 19 Nov 2018 08:45:52 +0000 (11:45 +0300)
src/Model/Model_BodyBuilder.cpp

index c751bcba9cd2433305a664d386092f6d374f421d..a6e4446bb9ac96c1410ecc1a27f7c540432007a8 100755 (executable)
@@ -608,9 +608,7 @@ void Model_BodyBuilder::loadGeneratedShapes(const GeomMakeShapePtr& theAlgo,
       const TopoDS_Shape& aNewShape_ = aNewShape->impl<TopoDS_Shape>();
 
       bool aNewShapeIsSameAsOldShape = anOldSubShape->isSame(aNewShape);
-      bool aNewShapeIsNotInResultShape = !aResultShape->isSubShape(aNewShape, false);
-      if (aNewShapeIsSameAsOldShape
-        || aNewShapeIsNotInResultShape)
+      if (aNewShapeIsSameAsOldShape)
       {
         continue;
       }