Salome HOME
Issue #1648: Dump Python in the High Level Parameterized Geometry API. Debug of namin...
[modules/shaper.git] / src / Model / Model_Update.h
index c9fe39ab7178ee1e1f01d07e215b22eafd17b654..7eb4a8ef2e9424fd342efe8841a3b9cd8b2f92c0 100644 (file)
@@ -41,6 +41,8 @@ class Model_Update : public Events_Listener
   std::set<std::shared_ptr<ModelAPI_Feature> > myProcessOnFinish;
   /// to avoid infinitive cycling: feature -> count of the processing periods during this update
   std::map<std::shared_ptr<ModelAPI_Feature>, int > myProcessed;
+  /// if preview in hte property panel is blocked and any update is postponed until the end of operation
+  bool myIsPreviewBlocked;
 
  public:
   /// Is called only once, on startup of the application
@@ -70,8 +72,8 @@ protected:
     const ModelAPI_ExecState theState);
 
   /// On operation start/end/abort the "Just" fileds must be cleared and processed in the right way
-  /// \param theFinish is true for start, close or abort transaction: all objects must be processed
-  void processFeatures();
+  //! \param theFlushRedisplay a boolean value if the redisplay signal should be flushed
+  void processFeatures(const bool theFlushRedisplay = true);
 
   /// Performs the feature execution
   /// \returns the status of execution