]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1799 : export group sub-shape to GEOM even if context is concealed.
authormpv <mpv@opencascade.com>
Wed, 5 Apr 2017 05:52:10 +0000 (08:52 +0300)
committermpv <mpv@opencascade.com>
Wed, 5 Apr 2017 05:52:10 +0000 (08:52 +0300)
src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py

index c59d9e249ad83e13c585245001a514866d5917bb..6427951a11fbc65975ce27473272367101a31067 100644 (file)
@@ -132,7 +132,8 @@ class ExportFeature(ModelAPI.ModelAPI_Feature):
             aSelection = theSelectionList.value(aSelIndex)
             # issue 1326: bodies that are already concealed did not exported, so groups should not be invalid
             aContext =  ModelAPI.modelAPI_Result(aSelection.context())
-            if aContext is None or aContext.isConcealed() or aContext.isDisabled():
+            # chcking of concealment removed because of #1799, remark #13 "aContext.isConcealed()"
+            if aContext is None or aContext.isDisabled():
                 continue
 
             anID = GeomAlgoAPI.GeomAlgoAPI_CompoundBuilder.id(self.shape, aSelection.value())