mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-23 18:55:37 +05:00
SHAPERSTUDY: fix case of a group containing the main shape
This commit is contained in:
parent
13b2d4d02d
commit
39f7977c42
@ -240,7 +240,7 @@ TopoDS_Shape GEOM_Client::GetShape( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_p
|
||||
}
|
||||
|
||||
/* Case of only one subshape */
|
||||
if ( list->length() == 1 && list[0] > 0 ) {
|
||||
if ( list->length() == 1 && list[0] > 1 ) {
|
||||
S = subShapes[list[0]-1];
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user