diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llheroprobemanager.cpp | 14 | 
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()  | 
