From 79dcb0fba317388fd49d23461ab3c65adec2f77c Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Wed, 15 Jan 2020 17:03:33 +0200 Subject: SL-12208 [EEP] The Water Normal Map does not consistently render --- indra/newview/llenvironment.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview') 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(); } -- cgit v1.2.3