From: dbv Date: Thu, 1 Nov 2018 10:22:55 +0000 (+0300) Subject: Fix for storing generated faces in ExtrusionCut/Fuse, RevolutionCut/Fuse X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2b48b99ed89e2fb5ea2ecfb736c8294bde3e6b3c;p=modules%2Fshaper.git Fix for storing generated faces in ExtrusionCut/Fuse, RevolutionCut/Fuse --- diff --git a/src/Model/Model_BodyBuilder.cpp b/src/Model/Model_BodyBuilder.cpp index c751bcba9..a6e4446bb 100755 --- a/src/Model/Model_BodyBuilder.cpp +++ b/src/Model/Model_BodyBuilder.cpp @@ -608,9 +608,7 @@ void Model_BodyBuilder::loadGeneratedShapes(const GeomMakeShapePtr& theAlgo, const TopoDS_Shape& aNewShape_ = aNewShape->impl(); bool aNewShapeIsSameAsOldShape = anOldSubShape->isSame(aNewShape); - bool aNewShapeIsNotInResultShape = !aResultShape->isSubShape(aNewShape, false); - if (aNewShapeIsSameAsOldShape - || aNewShapeIsNotInResultShape) + if (aNewShapeIsSameAsOldShape) { continue; }