diff options
author | Brad Linden <brad@lindenlab.com> | 2024-05-14 11:07:13 -0700 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2024-05-14 11:07:13 -0700 |
commit | 31a3423239a1312e430909ad899d60003363541f (patch) | |
tree | 93a7cd46544e69543794654b29068a74437af7d1 /indra/newview/llvovolume.cpp | |
parent | 193d9d5f767c2bfad1dc5ced4fa630d05ae798ae (diff) | |
parent | 1e9e5a7b7629276d509c352699fb5891c2dc6587 (diff) |
Merge remote-tracking branch 'origin/release/materials_featurette' into project/gltf_development
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 78df9aa9cf..a4835849eb 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -3422,8 +3422,15 @@ bool LLVOVolume::setReflectionProbeIsMirror(bool is_mirror) { if (param_block->getIsMirror() != is_mirror) { + LL_INFOS() << "Setting reflection probe mirror to " << is_mirror << LL_ENDL; param_block->setIsMirror(is_mirror); parameterChanged(LLNetworkData::PARAMS_REFLECTION_PROBE, true); + + if (!is_mirror) + gPipeline.mHeroProbeManager.unregisterViewerObject(this); + else + gPipeline.mHeroProbeManager.registerViewerObject(this); + return true; } } |