From 2b48b99ed89e2fb5ea2ecfb736c8294bde3e6b3c Mon Sep 17 00:00:00 2001 From: dbv Date: Thu, 1 Nov 2018 13:22:55 +0300 Subject: [PATCH] Fix for storing generated faces in ExtrusionCut/Fuse, RevolutionCut/Fuse --- src/Model/Model_BodyBuilder.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } -- 2.39.2