Salome HOME
Revert "Issue #3044: Undo list contains empty string for Load python script"
[modules/shaper.git] / src / Model / Model_Session.h
index 82e6065e77735631f5c596e817ef536ae5a675d4..b480a67e951c03cfd5eca6104bb3c9f7eb182f4b 100644 (file)
@@ -48,7 +48,9 @@ class Model_Session : public ModelAPI_Session, public Events_Listener
 
   /// if true, generates error if document is updated outside of transaction
   bool myCheckTransactions;
-  bool myOperationAttachedToNext; ///< the current operation must be committed twice, with nested
+  /// if true, the current operation must be committed twice,
+  /// with nested (list for any nesting depth)
+  std::list<bool> myOperationAttachedToNext;
  public:
 
   //! Loads the OCAF document from the file.
@@ -131,6 +133,9 @@ class Model_Session : public ModelAPI_Session, public Events_Listener
   /// Returns the validators factory: the only one instance per application
   MODEL_EXPORT virtual ModelAPI_ValidatorsFactory* validators();
 
+  /// Returns the filters factory: the only one instance per application
+  MODEL_EXPORT virtual ModelAPI_FiltersFactory* filters();
+
   /// Sets the flag to check modifications outside the transaction or not
   void setCheckTransactions(const bool theCheck)
   {