X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_ExportFeature.cpp;h=93500cc5e7660a345a7aa6e851878269123e23fe;hb=63ba1dd6387b76f8d2710955f8aebf9cf613058c;hp=ca42c50ea082ebb0bac8b35122d1c8fd22a15d91;hpb=a0d983b897197391d7af1a1eadb83361e6b241b8;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp b/src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp index ca42c50ea..93500cc5e 100644 --- a/src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp +++ b/src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp @@ -110,11 +110,13 @@ void ExchangePlugin_ExportFeature::initAttributes() // if the type of export operation is XAO AttributeStringPtr aTypeAttr = string(EXPORT_TYPE_ID()); if (aTypeAttr->isInitialized() && aTypeAttr->value() == "XAO") { + bool aWasBlocked = data()->blockSendAttributeUpdated(true, false); AttributeSelectionListPtr aSelList = selectionList(SELECTION_LIST_ID()); AttributeSelectionListPtr aXAOSelList = selectionList(XAO_SELECTION_LIST_ID()); if (aSelList->size() > 0 && aXAOSelList->size() == 0) aSelList->copyTo(aXAOSelList); aSelList->clear(); + data()->blockSendAttributeUpdated(aWasBlocked, false); } } @@ -590,7 +592,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(XAO_SELECTION_LIST_ID()); return !aList->isInitialized() || aList->size() == 0;