mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-12 00:29:18 +05:00
0052845: GetInPlace selection option does not work in Create Group dialog
This commit is contained in:
parent
f069900cfc
commit
6b60614b1f
@ -881,6 +881,12 @@ int GroupGUI_GroupDlg::getSelectedSubshapes (TColStd_IndexedMapOfInteger& theMap
|
|||||||
TopoDS_Shape aShape;
|
TopoDS_Shape aShape;
|
||||||
if (GEOMBase::GetShape(aGeomObj, aShape)) {
|
if (GEOMBase::GetShape(aGeomObj, aShape)) {
|
||||||
if (aGeomObj->GetType() == GEOM_GROUP || aShape.ShapeType() == getShapeType()) {
|
if (aGeomObj->GetType() == GEOM_GROUP || aShape.ShapeType() == getShapeType()) {
|
||||||
|
if (subSelectionWay() != ALL_SUBSHAPES &&
|
||||||
|
GEOMBase::GetName(aGeomObj) == myShape2Name->text()) {
|
||||||
|
// Skip selected in place object.
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
TopTools_IndexedMapOfShape aMainMap;
|
TopTools_IndexedMapOfShape aMainMap;
|
||||||
TopoDS_Shape aMainShape = GEOM_Client::get_client().GetShape(GeometryGUI::GetGeomGen(), myMainObj);
|
TopoDS_Shape aMainShape = GEOM_Client::get_client().GetShape(GeometryGUI::GetGeomGen(), myMainObj);
|
||||||
TopExp::MapShapes(aMainShape, aMainMap);
|
TopExp::MapShapes(aMainShape, aMainMap);
|
||||||
|
Loading…
Reference in New Issue
Block a user