Salome HOME
Minor correction
authormpv <mpv@opencascade.com>
Thu, 13 Feb 2020 16:10:35 +0000 (19:10 +0300)
committermpv <mpv@opencascade.com>
Thu, 13 Feb 2020 16:10:35 +0000 (19:10 +0300)
src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp
src/PythonAPI/model/services/__init__.py

index 4eedccc2604e1078446fe24cbd99dbde9ea37b5a..02a12e88f0044aa254db331d6be268fbabf071ad 100644 (file)
@@ -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;
index 5e10f000eb8c7a0ff319231eac368ac3c0d54d4f..a8bd057618b390629cf6d69983c5173f11af4493 100644 (file)
@@ -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 ""