diff options
author | Graham Linden <graham@lindenlab.com> | 2018-08-30 00:16:44 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-08-30 00:16:44 +0100 |
commit | 100a58778b6f96513978369820fcf328dcb21226 (patch) | |
tree | 682d5f1bed66a2c39be3463129e0cbca51d7e634 /indra/newview/llenvironment.cpp | |
parent | 0b3a4c75568a1648926c24463ed11cba53cfddb8 (diff) |
MAINT-8944 Fix missed mNextFooTextureId updates when jumping between keyframes by forcing mReplaced when sky is replaced.
Diffstat (limited to 'indra/newview/llenvironment.cpp')
-rw-r--r-- | indra/newview/llenvironment.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llenvironment.cpp b/indra/newview/llenvironment.cpp index 8f703d0035..6e19df0a94 100644 --- a/indra/newview/llenvironment.cpp +++ b/indra/newview/llenvironment.cpp @@ -1622,7 +1622,10 @@ void LLEnvironment::DayInstance::setSky(const LLSettingsSky::ptr_t &psky) mType = TYPE_FIXED; mInitialized = false; + bool different_sky = mSky != psky; + mSky = psky; + mSky->mReplaced |= different_sky; mSky->update(); mBlenderSky.reset(); |