]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #561: Import Performance - disable preview by isPreviewNeeded() returns false.
authorSergey POKHODENKO <sergey.pokhodenko@opencascade.com>
Tue, 26 May 2015 10:03:25 +0000 (13:03 +0300)
committerSergey POKHODENKO <sergey.pokhodenko@opencascade.com>
Tue, 26 May 2015 10:04:38 +0000 (13:04 +0300)
src/ExchangePlugin/ExchangePlugin_ImportFeature.h

index b1fc310add5dbbae09f14ab85d9955e69fd972e1..edc37478f531ed72542fa2c2d8ca3b9b9cdb9d39 100644 (file)
@@ -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