]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the issue #19721 Parts moved at partset level are not well published to SHAPE...
authormpv <mikhail.ponikarov@opencascade.com>
Tue, 23 Jun 2020 16:28:31 +0000 (19:28 +0300)
committervsr <vsr@opencascade.com>
Wed, 24 Jun 2020 16:08:03 +0000 (19:08 +0300)
src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py

index a87eb0f6fcf36c6ea42e94bc076123c79557dcee..a2e401aae849520225473c1b214435a0bf1cb9bf 100644 (file)
@@ -85,7 +85,7 @@ class PublishToStudyFeature(ModelAPI.ModelAPI_Feature):
           if aPartDoc is None and aPartObject is not None:
             EventsAPI.Events_InfoMessage("PublishToStudy", "To publish to SHAPER-STUDY, activate Parts in SHAPER", self).send()
             break
-          aPartFeatureId = aPartSet.feature(aPartRes).data().featureId()
+          aPartFeatureId = aPartSet.feature(aPartRes.original()).data().featureId()
           # Collects all features of exported results to find results of the same features and extend id.
           # Map from feature index to index of result. If index is zero (initial), no surrfix to entry is added.
           aFeaturesIndices = {}