summaryrefslogtreecommitdiff
path: root/indra/newview/llenvironment.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-12-21 15:30:57 -0800
committerRider Linden <rider@lindenlab.com>2018-12-21 15:30:57 -0800
commit8227a0b270f6e7cc521adeb7b97ad2d5fb646973 (patch)
treef03d3a12f94c503350dd11b7167b541a98306757 /indra/newview/llenvironment.h
parent634910f685057c50ae3233d9f71d4b21cf958749 (diff)
SL-10279: Rework the environment pannel. Still in progress.
Diffstat (limited to 'indra/newview/llenvironment.h')
-rw-r--r--indra/newview/llenvironment.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llenvironment.h b/indra/newview/llenvironment.h
index 47e0f0208b..1dd7496b02 100644
--- a/indra/newview/llenvironment.h
+++ b/indra/newview/llenvironment.h
@@ -380,7 +380,10 @@ private:
mDayOffset(day_offset),
mAltitudes(altitudes),
mDayName()
- {}
+ {
+ if (mDayp)
+ mDayName = mDayp->getName();
+ }
UpdateInfo(LLUUID settings_asset, std::string name, S32 day_length, S32 day_offset, altitudes_vect_t altitudes) :
mDayp(),