Salome HOME
IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
authoreap <eap@opencascade.com>
Tue, 28 Jun 2011 11:55:32 +0000 (11:55 +0000)
committereap <eap@opencascade.com>
Tue, 28 Jun 2011 11:55:32 +0000 (11:55 +0000)
    Treate a case where a valid mesh is computed anyhow while the algo reports errors

+  COMPERR_WARNING  //!< algo reports error but sub-mesh is computed anyway

idl/SMESH_Gen.idl

index 9d70e066e478107c4560f28cc3bc379e1bd9e589..345ffe2dc940e2b6cd99a4d25f947f4aeb420e4d 100644 (file)
@@ -98,7 +98,8 @@ module SMESH
     COMPERR_EXCEPTION     ,  // other exception raised
     COMPERR_MEMORY_PB     ,  // memory allocation problem
     COMPERR_ALGO_FAILED   ,  // computation failed
-    COMPERR_BAD_SHAPE        // bad geometry
+    COMPERR_BAD_SHAPE     ,  // bad geometry
+    COMPERR_WARNING          // algo reports error but sub-mesh is computed anyway
   };
   struct ComputeError
   {