From: mpv Date: Thu, 13 Feb 2020 16:10:35 +0000 (+0300) Subject: Minor correction X-Git-Tag: V9_5_0a1~17^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1b5a03e177400a96c42465ef55329314ea17d27a;p=modules%2Fshaper.git Minor correction --- 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 ""