mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-22 13:55:37 +05:00
Fix issue 0020479: EDF 1116 GEOM: Create a group, "Add" button is inactive but "Select all" button is active
This commit is contained in:
parent
fe345c70bb
commit
81fcc12736
@ -940,7 +940,7 @@ Handle(TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations::SubShapeAllIDs
|
|||||||
} else {
|
} else {
|
||||||
TopExp_Explorer exp (aShape, TopAbs_ShapeEnum(theShapeType));
|
TopExp_Explorer exp (aShape, TopAbs_ShapeEnum(theShapeType));
|
||||||
for (; exp.More(); exp.Next())
|
for (; exp.More(); exp.Next())
|
||||||
if (mapShape.Add(exp.Current()))
|
if (!exp.Current().IsSame(aShape) && mapShape.Add(exp.Current()))
|
||||||
listShape.Append(exp.Current());
|
listShape.Append(exp.Current());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user