From: Nicola Giuliani Date: Mon, 11 Nov 2019 17:11:36 +0000 (+0100) Subject: break X-Git-Tag: v9.2.0-rc1~878^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80e0d560ff506b39519bd0f87e40e4613aa9e376;p=dealii.git break --- diff --git a/source/opencascade/utilities.cc b/source/opencascade/utilities.cc index 2f75b6e4f5..44f7b0a535 100644 --- a/source/opencascade/utilities.cc +++ b/source/opencascade/utilities.cc @@ -306,7 +306,10 @@ namespace OpenCASCADE Handle(Poly_Triangulation) theTriangulation = BRep_Tool::Triangulation(faces[i], Loc); if (theTriangulation.IsNull()) - mesh_is_present = false; + { + mesh_is_present = false; + break; + } } TopoDS_Shape shape_to_be_written = shape; if (!mesh_is_present)