X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_ExportFeature.h;fp=src%2FExchangePlugin%2FExchangePlugin_ExportFeature.h;h=c0a79a8c5ea092bcbbba0d7fff00d3a97f0d6d7a;hb=b6cb9a5e9ecc1c5dae69d686fa73a8afec92d04f;hp=3644a37b4c4ad6457738e86d37422dba84ff221a;hpb=6e1306dcc08cb943e2935f2632609ef466b8285f;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_ExportFeature.h b/src/ExchangePlugin/ExchangePlugin_ExportFeature.h index 3644a37b4..c0a79a8c5 100644 --- a/src/ExchangePlugin/ExchangePlugin_ExportFeature.h +++ b/src/ExchangePlugin/ExchangePlugin_ExportFeature.h @@ -105,8 +105,9 @@ public: EXCHANGEPLUGIN_EXPORT virtual void execute(); /// Reimplemented from ModelAPI_Feature::isMacro(). Returns false. - // Not a macro. Otherwise, the feature will be deleted after being executed - EXCHANGEPLUGIN_EXPORT virtual bool isMacro() const { return false; } + // It is macro for not-XAO export. For XAO the feature is kept invisible in the tree + // for the export to GEOM functionality correct working. + EXCHANGEPLUGIN_EXPORT virtual bool isMacro() const; /// Reimplemented from ModelAPI_Feature::isPreviewNeeded(). Returns false. EXCHANGEPLUGIN_EXPORT virtual bool isPreviewNeeded() const { return false; }