From 6f8dc08854f1d566aefa7a97cc664a569220db59 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 21 Jul 2008 09:42:35 +0000 Subject: [PATCH] [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics enum Hypothesis_Status // in the order of severity { + HYP_NEED_SHAPE // algorithm can work on shape only --- src/SMESH/SMESH_Hypothesis.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SMESH/SMESH_Hypothesis.hxx b/src/SMESH/SMESH_Hypothesis.hxx index b3c885303..a63ea921e 100644 --- a/src/SMESH/SMESH_Hypothesis.hxx +++ b/src/SMESH/SMESH_Hypothesis.hxx @@ -55,7 +55,8 @@ public: HYP_ALREADY_EXIST,// such hypothesis already exist HYP_BAD_DIM, // bad dimension HYP_BAD_SUBSHAPE, // shape is neither the main one, nor its subshape, nor a group - HYP_BAD_GEOMETRY // shape geometry mismatches algorithm's expectation + HYP_BAD_GEOMETRY, // shape geometry mismatches algorithm's expectation + HYP_NEED_SHAPE // algorithm can work on shape only }; static bool IsStatusFatal(Hypothesis_Status theStatus) { return theStatus >= HYP_UNKNOWN_FATAL; }