]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Revert "Fix for the issue 18884 : result still published in SHAPER_STUDY after being...
authormpv <mikhail.ponikarov@opencascade.com>
Tue, 31 Mar 2020 06:44:56 +0000 (09:44 +0300)
committermpv <mikhail.ponikarov@opencascade.com>
Tue, 31 Mar 2020 06:44:56 +0000 (09:44 +0300)
This reverts commit 58a69c1f99f147a75fb300d729fb421a0804fc3a.

src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py

index d67fbb779981cc4c8fdb198b5ee622b674f4e0c2..a6a6d2d6619152e66c4a7d9f5da0639f2be6951a 100644 (file)
@@ -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.