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-Tag: End2018~216 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d488893f8e8f3a7f59bd27b11683b6b7c1d86e43;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; }