diff options
author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2024-06-04 15:22:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 15:22:38 -0700 |
commit | c413458fd48ff209f7bd536924a2df2c4dfe8716 (patch) | |
tree | 4d14db8946c9a2465f788b8c81bab450c6748643 /indra/newview/llheroprobemanager.cpp | |
parent | 1f17c7f7d31852ff096bb4472730bd0acc8c159d (diff) |
#1628 Disable spherical mirror probes for the time being. (#1631)
Diffstat (limited to 'indra/newview/llheroprobemanager.cpp')
-rw-r--r-- | indra/newview/llheroprobemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llheroprobemanager.cpp b/indra/newview/llheroprobemanager.cpp index ff47ca87ec..efe72128d4 100644 --- a/indra/newview/llheroprobemanager.cpp +++ b/indra/newview/llheroprobemanager.cpp @@ -123,7 +123,7 @@ void LLHeroProbeManager::update() float camera_center_distance = 99999.f; for (auto vo : mHeroVOList) { - if (vo && !vo->isDead() && vo->mDrawable.notNull()) + if (vo && !vo->isDead() && vo->mDrawable.notNull() && vo->isReflectionProbe() && vo->getReflectionProbeIsBox()) { float distance = (LLViewerCamera::instance().getOrigin() - vo->getPositionAgent()).magVec(); float center_distance = cameraDirection * (vo->getPositionAgent() - camera_pos); |