Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bos #26523 EDF 24234 - Viscous Layer
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_subMesh.cxx
diff --git
a/src/SMESH/SMESH_subMesh.cxx
b/src/SMESH/SMESH_subMesh.cxx
index 23d72c5a0da5b1dc9a29e4011b964e556e29d2b6..6975f958bb08a86ab917e34798312582229e5fe5 100644
(file)
--- a/
src/SMESH/SMESH_subMesh.cxx
+++ b/
src/SMESH/SMESH_subMesh.cxx
@@
-2209,7
+2209,7
@@
TopoDS_Shape SMESH_subMesh::getCollection(SMESH_Gen * /*theGen*/,
}
}
- return aCompound;
+ return
theSubs.size() == 1 ? theSubs[0]->GetSubShape() :
aCompound;
}
//=======================================================================