Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Preparation of intermediate revision
[modules/geom.git]
/
src
/
GEOMImpl
/
GEOMImpl_IShapesOperations.cxx
diff --git
a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
index cb173b0c40cc46bb2984dbae25224f6764764b41..0eff72be42edf32abe30c13291f1afba82afe87e 100644
(file)
--- a/
src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
+++ b/
src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
@@
-941,7
+941,7
@@
Handle(TColStd_HSequenceOfInteger) GEOMImpl_IShapesOperations::SubShapeAllIDs
} else {
TopExp_Explorer exp (aShape, TopAbs_ShapeEnum(theShapeType));
for (; exp.More(); exp.Next())
- if (
!exp.Current().IsSame(aShape) &&
mapShape.Add(exp.Current()))
+ if (mapShape.Add(exp.Current()))
listShape.Append(exp.Current());
}