mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-08 09:27:28 +05:00
[bos #28855] EDF 24963 - multi-explode.
This commit is contained in:
parent
58bfedf8f6
commit
15ca7707dd
@ -254,9 +254,10 @@ TopoDS_Shape GEOM_Client::GetShape( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_p
|
|||||||
subShapes.insert( subShapes.end(), anIndices.cbegin(), anIndices.cend() );
|
subShapes.insert( subShapes.end(), anIndices.cbegin(), anIndices.cend() );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Case of only one subshape */
|
/* Case of only one subshape, excluding groups of one main shape */
|
||||||
if ( list->length() == 1 && list[0] > 1 ) {
|
if ( list->length() == 1 && !(aShape->GetType() == 37 && list[0] == 1) ) {
|
||||||
S = subShapes[list[0]-1];
|
if (list[0] > 0)
|
||||||
|
S = subShapes[list[0]-1];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
BRep_Builder B;
|
BRep_Builder B;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user