summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-04-12 11:52:20 -0500
committerDave Parks <davep@lindenlab.com>2023-04-12 11:52:20 -0500
commit84fb05efeb55ef34e0497fb7d82275fb2b9222bd (patch)
tree54620ac24135bae761cf6dbe9ec8a083cd9cf67d
parentc53aabe33fc16186bf467debc2f703b101be1c0a (diff)
SL-19569 Reset probes when reverting sky settings to shared environment.
-rw-r--r--indra/newview/llenvironment.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llenvironment.cpp b/indra/newview/llenvironment.cpp
index 627842079e..829cd7cf7b 100644
--- a/indra/newview/llenvironment.cpp
+++ b/indra/newview/llenvironment.cpp
@@ -1361,6 +1361,9 @@ void LLEnvironment::clearEnvironment(LLEnvironment::EnvSelection_t env)
mEnvironments[env].reset();
+ // reset probe data when reverting back to region sky setting
+ gPipeline.mReflectionMapManager.reset();
+
if (!mSignalEnvChanged.empty())
mSignalEnvChanged(env, VERSION_CLEANUP);
}