X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FPartSet%2FPartSet_ExternalObjectsMgr.cpp;h=2cdcd24bf149c737ff892b8532d21d23684088df;hb=055d3c94f677cdf74eca05711fe9dcae89035d58;hp=e171f43b5e8189444b015d49792d39c4eb6e6c70;hpb=fdf05fdbacbddf319df9770cddafaaa09e8cd1a4;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_ExternalObjectsMgr.cpp b/src/PartSet/PartSet_ExternalObjectsMgr.cpp index e171f43b5..2cdcd24bf 100644 --- a/src/PartSet/PartSet_ExternalObjectsMgr.cpp +++ b/src/PartSet/PartSet_ExternalObjectsMgr.cpp @@ -90,7 +90,6 @@ void PartSet_ExternalObjectsMgr::removeExternal(const CompositeFeaturePtr& theSk anObjects.append(aFeature); // the external feature should be removed with all references, sketch feature should be ignored std::set anIgnoredFeatures; - anIgnoredFeatures.insert(theSketch); // the current feature should be ignored, because it can use the external feature in the // attributes and, therefore have a references to it. So, the delete functionality tries // to delete this feature. Test case is creation of a constraint on external point, @@ -149,7 +148,6 @@ void PartSet_ExternalObjectsMgr::removeExternalObject(const ObjectPtr& theObject anObjects.append(aFeature); // the external feature should be removed with all references, sketch feature should be ignored std::set anIgnoredFeatures; - anIgnoredFeatures.insert(theSketch); // the current feature should be ignored, because it can use the external feature in the // attributes and, therefore have a references to it. So, the delete functionality tries // to delete this feature. Test case is creation of a constraint on external point,