From 3005aae4495b97cf28bd2ae88562aa6bd34afc9d Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 31 Mar 2020 09:44:56 +0300 Subject: [PATCH] Revert "Fix for the issue 18884 : result still published in SHAPER_STUDY after being removed" This reverts commit 58a69c1f99f147a75fb300d729fb421a0804fc3a. --- src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py b/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py index d67fbb779..a6a6d2d66 100644 --- a/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py +++ b/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py @@ -136,9 +136,6 @@ class PublishToStudyFeature(ModelAPI.ModelAPI_Feature): if aRes: aBuilder = SHAPERSTUDY_utils.getStudy().NewBuilder() aBuilder.RemoveReference(aSO2) - # 18884 - remove also the shape object and all sub-objects - aBuilder = SHAPERSTUDY_utils.getStudy().NewBuilder() - aBuilder.RemoveObjectWithChildren(aSO) # Part of the "execute" method: processes the Groups of theRes result publication. # If theFields is true, the same is performed for Fields. -- 2.39.2