PAL11497. Netgen doesn't need a 3D hypothesis anymore

This commit is contained in:
eap 2006-02-15 11:01:29 +00:00
parent 6962b1cd90
commit 5d113e7540

View File

@ -83,6 +83,7 @@ bool NETGENPlugin_NETGEN_3D::CheckHypothesis
MESSAGE("NETGENPlugin_NETGEN_3D::CheckHypothesis"); MESSAGE("NETGENPlugin_NETGEN_3D::CheckHypothesis");
_hypMaxElementVolume = NULL; _hypMaxElementVolume = NULL;
_maxElementVolume = DBL_MAX;
list<const SMESHDS_Hypothesis*>::const_iterator itl; list<const SMESHDS_Hypothesis*>::const_iterator itl;
const SMESHDS_Hypothesis* theHyp; const SMESHDS_Hypothesis* theHyp;
@ -91,8 +92,9 @@ bool NETGENPlugin_NETGEN_3D::CheckHypothesis
int nbHyp = hyps.size(); int nbHyp = hyps.size();
if (!nbHyp) if (!nbHyp)
{ {
aStatus = SMESH_Hypothesis::HYP_MISSING; aStatus = SMESH_Hypothesis::HYP_OK;
return false; // can't work with no hypothesis //aStatus = SMESH_Hypothesis::HYP_MISSING;
return true; // can work with no hypothesis
} }
itl = hyps.begin(); itl = hyps.begin();