summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2023-09-09 14:51:12 -0700
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2023-09-09 14:51:12 -0700
commitd6f15179d1a5c7bdb8977652aee557b3bd051cf7 (patch)
tree73b6ad181a5bb6faf0765f9802feb7eff33d5b4e /indra
parent1433434bf134b76220fa2c31c16f36459b463e32 (diff)
Remove the rebuild on the drawable. Wasn't working as expected anyways.
DRTVWR-583
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llheroprobemanager.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/indra/newview/llheroprobemanager.cpp b/indra/newview/llheroprobemanager.cpp
index 13faf13a0f..7c616593fc 100644
--- a/indra/newview/llheroprobemanager.cpp
+++ b/indra/newview/llheroprobemanager.cpp
@@ -206,14 +206,6 @@ void LLHeroProbeManager::update()
// In effect this simulates single-bounce lighting.
void LLHeroProbeManager::updateProbeFace(LLReflectionMap* probe, U32 face)
{
- // Make our object invisible.
-
- if (mNearestHero)
- {
- mNearestHero->setDrawableState(LLDrawable::FORCE_INVISIBLE, true);
- gPipeline.markRebuild( mNearestHero->mDrawable, LLDrawable::REBUILD_ALL);
- }
-
// hacky hot-swap of camera specific render targets
gPipeline.mRT = &gPipeline.mAuxillaryRT;
@@ -382,12 +374,6 @@ void LLHeroProbeManager::updateProbeFace(LLReflectionMap* probe, U32 face)
mMipChain[0].flush();
}
-
- if (mNearestHero)
- {
- mNearestHero->clearDrawableState(LLDrawable::FORCE_INVISIBLE, true);
- gPipeline.markRebuild( mNearestHero->mDrawable, LLDrawable::REBUILD_ALL);
- }
}
void LLHeroProbeManager::updateUniforms()