diff options
| author | Dave Parks <davep@lindenlab.com> | 2023-02-21 20:56:20 -0600 | 
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2023-02-21 20:56:20 -0600 | 
| commit | 8f83724f7eb6f05150951fabac2a89f4b83abe39 (patch) | |
| tree | ef35d170fc62a1e9446801f72c1956979e2fb66c /indra/newview | |
| parent | 19f7497d9a01731cbd82be4b522d8b879cdcb8a0 (diff) | |
DRTVWR-559 WIP -- Kill debug text on probes (whoops)
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llreflectionmap.cpp | 14 | 
1 files changed, 0 insertions, 14 deletions
| diff --git a/indra/newview/llreflectionmap.cpp b/indra/newview/llreflectionmap.cpp index 9fcc6ae902..fb934da02e 100644 --- a/indra/newview/llreflectionmap.cpp +++ b/indra/newview/llreflectionmap.cpp @@ -271,10 +271,6 @@ void LLReflectionMap::doOcclusion(const LLVector4a& eye)      if (o.getLength3().getF32() < dist)      { // eye is inside radius, don't attempt to occlude          mOccluded = false; -        if (mViewerObject) -        { -            mViewerObject->setDebugText("Camera Non-Occluded"); -        }          return;      } @@ -298,10 +294,6 @@ void LLReflectionMap::doOcclusion(const LLVector4a& eye)          else          {              mOcclusionPendingFrames++; -            if (mViewerObject) -            { -                mViewerObject->setDebugText(llformat("Query Pending - %d", mOcclusionPendingFrames)); -            }          }      } @@ -312,17 +304,11 @@ void LLReflectionMap::doOcclusion(const LLVector4a& eye)          LLGLSLShader* shader = LLGLSLShader::sCurBoundShaderPtr;          shader->uniform3fv(LLShaderMgr::BOX_CENTER, 1, mOrigin.getF32ptr()); -        F32 r = mRadius + 0.25f; // pad by 1/4m for near clip plane etc          shader->uniform3f(LLShaderMgr::BOX_SIZE, mRadius, mRadius, mRadius);          gPipeline.mCubeVB->drawRange(LLRender::TRIANGLE_FAN, 0, 7, 8, get_box_fan_indices(LLViewerCamera::getInstance(), mOrigin));          glEndQuery(GL_ANY_SAMPLES_PASSED); - -        if (mViewerObject) -        { -            mViewerObject->setDebugText(llformat("Query Issued - %.2f, %.2f, %.2f", o.getLength3().getF32(), dist, mRadius)); -        }      }  #endif  } | 
