diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-05-24 17:54:36 +0300 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-05-24 17:54:36 +0300 |
commit | 9f2fc2b433f1c67b85786467ab17ff0b662b90f7 (patch) | |
tree | c86349b6141bccdf09091dc79d838bde3a3a6016 /indra/newview/llfloaterfixedenvironment.h | |
parent | 63ecb7325e77bf3ca568788a4557045054a4520b (diff) |
SL-11273 FIXED [EEP] The beacon checkboxes in the Day Cycle window can only be changed while a keyframe is selected.
Diffstat (limited to 'indra/newview/llfloaterfixedenvironment.h')
-rw-r--r-- | indra/newview/llfloaterfixedenvironment.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloaterfixedenvironment.h b/indra/newview/llfloaterfixedenvironment.h index 138f26cfd7..b27ec4b8e6 100644 --- a/indra/newview/llfloaterfixedenvironment.h +++ b/indra/newview/llfloaterfixedenvironment.h @@ -183,7 +183,8 @@ public: inline void setIsDirty() { mIsDirty = true; if (!mOnDirtyChanged.empty()) mOnDirtyChanged(this, mIsDirty); } inline void clearIsDirty() { mIsDirty = false; if (!mOnDirtyChanged.empty()) mOnDirtyChanged(this, mIsDirty); } - virtual void setCanChangeSettings(bool flag); + inline bool getCanChangeSettings() const { return mCanEdit; } + inline void setCanChangeSettings(bool flag) { mCanEdit = flag; } inline connection_t setOnDirtyFlagChanged(on_dirty_charged_sg::slot_type cb) { return mOnDirtyChanged.connect(cb); } @@ -197,6 +198,7 @@ protected: private: bool mIsDirty; + bool mCanEdit; on_dirty_charged_sg mOnDirtyChanged; }; |