]> https://gitweb.dealii.org/ - dealii.git/commitdiff
break
authorNicola Giuliani <ngiuliani@sissa.it>
Mon, 11 Nov 2019 17:11:36 +0000 (18:11 +0100)
committerNicola Giuliani <ngiuliani@sissa.it>
Mon, 11 Nov 2019 17:11:36 +0000 (18:11 +0100)
source/opencascade/utilities.cc

index 2f75b6e4f531f0a0e567613837a2def936af9ada..44f7b0a535dfde97d911d24652feb66c3399cd36 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.