diff options
author | Rider Linden <rider@lindenlab.com> | 2018-09-17 14:21:38 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-09-17 14:21:38 -0700 |
commit | 17fb7d0bf4cc4db1c3f30dbbbdee7610d168336c (patch) | |
tree | b3b48dcbe06af0df45696245bdc4639cdc346a27 /indra/newview/llpanelenvironment.h | |
parent | 53a93d3e73892f633b1d79de359924d733489bdb (diff) |
SL-9667, SL-9669: Do not attempt to request environment for non-eep parcels, use handle to panel passed to static for callbacks.
Diffstat (limited to 'indra/newview/llpanelenvironment.h')
-rw-r--r-- | indra/newview/llpanelenvironment.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llpanelenvironment.h b/indra/newview/llpanelenvironment.h index fdf0fe46a7..a632acfd03 100644 --- a/indra/newview/llpanelenvironment.h +++ b/indra/newview/llpanelenvironment.h @@ -121,6 +121,7 @@ protected: void onEditCommitted(LLSettingsDay::ptr_t newday); void onPickerAssetDownloaded(LLSettingsBase::ptr_t settings); void onEnvironmentReceived(S32 parcel_id, LLEnvironment::EnvironmentInfo::ptr_t envifo); + static void _onEnvironmentReceived(LLHandle<LLPanel> that_h, S32 parcel_id, LLEnvironment::EnvironmentInfo::ptr_t envifo); virtual void refreshFromSource() = 0; @@ -132,6 +133,7 @@ protected: void setCrossRegion(bool val) { mCrossRegion = val; } void setNoSelection(bool val) { mNoSelection = val; } + void setNoEnvironmentSupport(bool val) { mNoEnvironment = val; } LLEnvironment::EnvironmentInfo::ptr_t mCurrentEnvironment; @@ -165,6 +167,6 @@ private: S32 mDirtyFlag; bool mCrossRegion; bool mNoSelection; - + bool mNoEnvironment; }; #endif // LL_LLPANELEXPERIENCES_H |