diff options
author | Rider Linden <rider@lindenlab.com> | 2018-09-19 15:31:23 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-09-19 15:31:23 -0700 |
commit | cae08e0096f75827851a8c9447e163ddb0132f2d (patch) | |
tree | 512d05c8082a654569d9602a42e4f0874b39bac2 /indra/newview/llpanelenvironment.h | |
parent | 1ef89151bda78b39f44071cfdbb28f1f0450b436 (diff) |
SL-9661: Trigger an event when the settings on a parcel or region are changed. Environment panel montiors this event and updates itself when it occurs.
Diffstat (limited to 'indra/newview/llpanelenvironment.h')
-rw-r--r-- | indra/newview/llpanelenvironment.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelenvironment.h b/indra/newview/llpanelenvironment.h index a632acfd03..2753e766ac 100644 --- a/indra/newview/llpanelenvironment.h +++ b/indra/newview/llpanelenvironment.h @@ -43,6 +43,7 @@ class LLPanelEnvironmentInfo : public LLPanel { public: LLPanelEnvironmentInfo(); + virtual ~LLPanelEnvironmentInfo(); virtual BOOL postBuild() override; virtual void onOpen(const LLSD& key) override; @@ -137,6 +138,8 @@ protected: LLEnvironment::EnvironmentInfo::ptr_t mCurrentEnvironment; + void onEnvironmentChanged(LLEnvironment::EnvSelection_t env); + class AltitudeData { public: @@ -162,6 +165,7 @@ private: typedef boost::signals2::connection connection_t; connection_t mCommitConnection; + connection_t mChangeMonitor; LLHandle<LLFloater> mSettingsFloater; LLHandle<LLFloater> mEditFloater; S32 mDirtyFlag; |