]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
021549]: [CEA] meshing problem with samples file
authoreap <eap@opencascade.com>
Fri, 4 May 2012 10:04:49 +0000 (10:04 +0000)
committereap <eap@opencascade.com>
Fri, 4 May 2012 10:04:49 +0000 (10:04 +0000)
  ingnore errors occured at MESHCONST_ANALYSE step

src/NETGENPlugin/NETGENPlugin_Mesher.cxx

index 7532cce414d2b70bc200feacb4263bf1c49e3f6c..d9b7fd86e4f51da69fcb0de5e62bc6adccb1eeba 100644 (file)
@@ -1863,8 +1863,10 @@ bool NETGENPlugin_Mesher::Compute()
       comment << text(ex);
       if ( !ngMesh )
         return false;
-      err = 1;
     }
+    err = 0; //- MESHCONST_ANALYSE isn't so important step
+    if ( !ngMesh )
+      return false;
     ngLib.setMesh(( Ng_Mesh*) ngMesh );
 
     if ( _simpleHyp )