From 783356acd5905d3ebf3d3d89409fef62b8e651d4 Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 5 Apr 2017 08:52:10 +0300 Subject: [PATCH] Issue #1799 : export group sub-shape to GEOM even if context is concealed. --- src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()) -- 2.39.2