diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2020-01-15 17:03:33 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2020-01-15 17:03:33 +0200 |
commit | 79dcb0fba317388fd49d23461ab3c65adec2f77c (patch) | |
tree | c3d6c9665343f9d39b5e26ee77f56edb58476ac5 /indra/newview | |
parent | 061a70a0d4f26e3d651d679d470e28c925c5b7cc (diff) |
SL-12208 [EEP] The Water Normal Map does not consistently render
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llenvironment.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llenvironment.cpp b/indra/newview/llenvironment.cpp index 782077b9a2..8f778711ce 100644 --- a/indra/newview/llenvironment.cpp +++ b/indra/newview/llenvironment.cpp @@ -2532,7 +2532,9 @@ void LLEnvironment::DayInstance::setWater(const LLSettingsWater::ptr_t &pwater) mType = TYPE_FIXED; mInitialized = false; + bool different_water = mWater != pwater; mWater = pwater; + mWater->mReplaced |= different_water; mWater->update(); mBlenderWater.reset(); } |