diff --git a/src/Mod/Part/App/modelRefine.cpp b/src/Mod/Part/App/modelRefine.cpp index 29d44bc87..c11bb19a6 100644 --- a/src/Mod/Part/App/modelRefine.cpp +++ b/src/Mod/Part/App/modelRefine.cpp @@ -512,10 +512,12 @@ TopoDS_Face FaceTypedPlane::buildFace(const FaceVectorType &faces) const faceFix.Add(wiresParallel.at(index)); } faceFix.FixOrientation(); - if (faceFix.Perform()) - return faceFix.Face(); - else + Standard_Boolean signal = faceFix.Perform(); + + if (signal > ShapeExtend_DONE) return TopoDS_Face(); + else + return faceFix.Face(); } FaceTypedPlane& ModelRefine::getPlaneObject()