From 4d726d794d0fa947723dd782e72007f376dee05e Mon Sep 17 00:00:00 2001 From: Sergey POKHODENKO Date: Tue, 26 May 2015 13:03:25 +0300 Subject: [PATCH] Issue #561: Import Performance - disable preview by isPreviewNeeded() returns false. --- src/ExchangePlugin/ExchangePlugin_ImportFeature.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ExchangePlugin/ExchangePlugin_ImportFeature.h b/src/ExchangePlugin/ExchangePlugin_ImportFeature.h index b1fc310ad..edc37478f 100644 --- a/src/ExchangePlugin/ExchangePlugin_ImportFeature.h +++ b/src/ExchangePlugin/ExchangePlugin_ImportFeature.h @@ -44,10 +44,8 @@ class ExchangePlugin_ImportFeature : public ModelAPI_Feature /// Computes or recomputes the results EXCHANGEPLUGIN_EXPORT virtual void execute(); - EXCHANGEPLUGIN_EXPORT virtual bool isInHistory() - { - return true; - } + /// Reimplemented from ModelAPI_Feature::isPreviewNeeded(). Returns false. + EXCHANGEPLUGIN_EXPORT virtual bool isPreviewNeeded() const { return false; } protected: /// Performs the import of the file -- 2.39.2