From 1b5a03e177400a96c42465ef55329314ea17d27a Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 13 Feb 2020 19:10:35 +0300 Subject: [PATCH] Minor correction --- src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp | 2 +- src/PythonAPI/model/services/__init__.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp b/src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp index 4eedccc26..02a12e88f 100644 --- a/src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp +++ b/src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp @@ -575,7 +575,7 @@ bool ExchangePlugin_ExportFeature::isMacro() const } } - if (aFormat == "XAO") { // on export to GEOm the selection attribute is filled - this is + if (aFormat == "XAO") { // on export to GEOM the selection attribute is filled - this is // an exceptional case where export to XAO feature must be kept AttributeSelectionListPtr aList = aThis->selectionList(SELECTION_LIST_ID()); return !aList->isInitialized() || aList->size() == 0; diff --git a/src/PythonAPI/model/services/__init__.py b/src/PythonAPI/model/services/__init__.py index 5e10f000e..a8bd05761 100644 --- a/src/PythonAPI/model/services/__init__.py +++ b/src/PythonAPI/model/services/__init__.py @@ -42,6 +42,5 @@ def featureStringId(theFeature): aRoot = moduleDocument() aCurrent = theFeature.feature().document() if aRoot and aCurrent: - print(str(dir())) return str(findPartFeature(aRoot, aCurrent).data().featureId()) + ":" + str(theFeature.feature().data().featureId()) return "" -- 2.39.2