Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4fd29
)
[bos #40505][CEA] Allow assign of 3D Tetra paramam on imported 2D mesh.
cce/40505
29/head
author
cconopoima
<cesar.conopoima@gmail.com>
Mon, 15 Jan 2024 10:21:12 +0000
(10:21 +0000)
committer
cconopoima
<cesar.conopoima@gmail.com>
Thu, 25 Jan 2024 14:11:00 +0000
(14:11 +0000)
src/SMESH/SMESH_subMesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_subMesh.cxx
b/src/SMESH/SMESH_subMesh.cxx
index fd9da1f0f758657065c8e0820063be8a111b5300..18b6c3cdfe9687603d1dea4f8dacc19b5806ea71 100644
(file)
--- a/
src/SMESH/SMESH_subMesh.cxx
+++ b/
src/SMESH/SMESH_subMesh.cxx
@@
-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 ))
{