From: Sergey POKHODENKO Date: Tue, 26 May 2015 10:03:25 +0000 (+0300) Subject: Issue #561: Import Performance - disable preview by isPreviewNeeded() returns false. X-Git-Tag: V_1.2.0~77 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4d726d794d0fa947723dd782e72007f376dee05e;p=modules%2Fshaper.git Issue #561: Import Performance - disable preview by isPreviewNeeded() returns false. --- 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