From: mpv Date: Wed, 5 Apr 2017 05:52:10 +0000 (+0300) Subject: Issue #1799 : export group sub-shape to GEOM even if context is concealed. X-Git-Tag: V_2.7.0~75 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=783356acd5905d3ebf3d3d89409fef62b8e651d4;p=modules%2Fshaper.git Issue #1799 : export group sub-shape to GEOM even if context is concealed. --- diff --git a/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py b/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py index c59d9e249..6427951a1 100644 --- a/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py +++ b/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py @@ -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())