Salome HOME
No automatic rebuild: only on preview. Update of visualization behavior due to the...
[modules/shaper.git] / src / Model / Model_Update.h
index ff3e67660b3b4875ad31bb3c8a1def6fe30fa858..f73378580918531e8c17f3e28da3cbce8eb18fda 100644 (file)
@@ -28,8 +28,9 @@ class Model_Update : public Events_Listener
   bool isExecuted;
   /// to know execute or not automatically all update
   bool isAutomatic;
-  /// execute just created features for sure
-  bool isCreated;
+  /// just created features: they must be updated immideately even in not-automatic mode for 
+  /// preview; cleared on commit operations
+  std::set<boost::shared_ptr<ModelAPI_Object> > myJustCreatedOrUpdated;
 
  public:
   /// Is called only once, on startup of the application