From: Christophe Bourcier Date: Tue, 24 Oct 2023 14:19:41 +0000 (+0200) Subject: Fix bos #38359 exportToXAOMem calls exportXAO twice X-Git-Tag: V9_12_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=661d714d52967df831372fea0c79b810ffe55239;p=modules%2Fshaper.git Fix bos #38359 exportToXAOMem calls exportXAO twice --- diff --git a/src/ExchangeAPI/ExchangeAPI_Export.cpp b/src/ExchangeAPI/ExchangeAPI_Export.cpp index 6390b6d97..461d476d2 100644 --- a/src/ExchangeAPI/ExchangeAPI_Export.cpp +++ b/src/ExchangeAPI/ExchangeAPI_Export.cpp @@ -141,7 +141,7 @@ ExchangeAPI_Export::ExchangeAPI_Export(const std::shared_ptr& aListOfOneSel.push_back(theResult); fillAttribute(aListOfOneSel, theFeature->selectionList(ExchangePlugin_ExportFeature::XAO_SELECTION_LIST_ID())); - execute(true); + execute(); apply(); // finish operation to make sure the export is done on the current state of the history }