[bos #40505][CEA] Allow assign of 3D Tetra paramam on imported 2D mesh.

This commit is contained in:
cconopoima 2024-01-15 10:21:12 +00:00
parent aa4fd29b86
commit bdcf8f151a

View File

@ -891,7 +891,10 @@ SMESH_Hypothesis::Hypothesis_Status
ret = SMESH_Hypothesis::HYP_INCOMPATIBLE;
}
else if (!_father->IsUsedHypothesis( anHyp, this ))
ret = SMESH_Hypothesis::HYP_INCOMPATIBLE;
{
if ( anHyp->GetDim() == this->GetAlgo()->GetDim() )
ret = SMESH_Hypothesis::HYP_INCOMPATIBLE;
}
if (SMESH_Hypothesis::IsStatusFatal( ret ))
{