diff options
author | Rider Linden <rider@lindenlab.com> | 2018-05-30 17:08:28 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-05-30 17:08:28 -0700 |
commit | 2ddad24c4d5e64711cdbffd98e290d3da8e9714a (patch) | |
tree | 41d0e42d9c6ecef131651910402c6eb7cc66ec18 /indra/newview/llenvironment.h | |
parent | acaf57100eade61262d73cf5b318c4545e921bd5 (diff) |
Timeline behavior in day cycle edit.
Diffstat (limited to 'indra/newview/llenvironment.h')
-rw-r--r-- | indra/newview/llenvironment.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llenvironment.h b/indra/newview/llenvironment.h index 398c97ebe9..32ce99ccc9 100644 --- a/indra/newview/llenvironment.h +++ b/indra/newview/llenvironment.h @@ -129,6 +129,8 @@ public: typedef boost::signals2::signal<void()> change_signal_t; typedef std::function<void(S32, EnvironmentInfo::ptr_t)> environment_apply_fn; + typedef std::array<F32, 4> altitude_list_t; + virtual ~LLEnvironment(); void loadPreferences(); @@ -217,6 +219,8 @@ public: S32 calculateSkyTrackForAltitude(F64 altitude); + const altitude_list_t & getRegionAltitudes() const { return mTrackAltitudes; } + protected: virtual void initSingleton(); @@ -338,7 +342,7 @@ private: change_signal_t mDayCycleListChange; S32 mCurrentTrack; - std::array<F32, 4> mTrackAltitudes; + altitude_list_t mTrackAltitudes; DayInstance::ptr_t getEnvironmentInstance(EnvSelection_t env, bool create = false); |