X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModel%2FModel_Session.h;h=7b7afe2b585f72703359e20e3d4c0d9d3809b129;hb=b0196aeefbaa53754b1052fab904386707caad87;hp=11655c8a3a73f4b79ddbdac8179fd4fa10e4ad94;hpb=db0ff8b5e15498f4e995e8cdea97e4c77f3958d9;p=modules%2Fshaper.git diff --git a/src/Model/Model_Session.h b/src/Model/Model_Session.h index 11655c8a3..7b7afe2b5 100644 --- a/src/Model/Model_Session.h +++ b/src/Model/Model_Session.h @@ -50,7 +50,6 @@ 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 - bool myIsAutoUpdateBlocked; ///< the current state of the auto-update flag in the application public: //! Loads the OCAF document from the file. @@ -147,9 +146,7 @@ class Model_Session : public ModelAPI_Session, public Events_Listener /// Returns true if auto-update in the application is blocked - MODEL_EXPORT virtual bool isAutoUpdateBlocked() const { - return myIsAutoUpdateBlocked; - } + MODEL_EXPORT virtual bool isAutoUpdateBlocked(); /// Set state of the auto-update of features result in the application MODEL_EXPORT virtual void blockAutoUpdate(const bool theBlock);