diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-09-25 20:18:59 +0200 |
---|---|---|
committer | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-09-25 20:24:11 +0200 |
commit | c3321645c8d3bd33ca0a147b97c9022fc7f09e93 (patch) | |
tree | d0e0e3f69ccaef1e5c876cb5168629ba1ea0c565 /indra/newview/llvosky.cpp | |
parent | c2b2598c046e65cb9e003a851d449a3a017e6ac1 (diff) |
SL-20335 Disable ERROR # diffuseColor4fv : ASSERT (shader != NULL)
Diffstat (limited to 'indra/newview/llvosky.cpp')
-rw-r--r-- | indra/newview/llvosky.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp index 909588367b..cb2f8b6e18 100644 --- a/indra/newview/llvosky.cpp +++ b/indra/newview/llvosky.cpp @@ -767,7 +767,10 @@ bool LLVOSky::updateSky() mForceUpdate = FALSE; mForceUpdateThrottle.setTimerExpirySec(UPDATE_EXPRY); - gPipeline.markRebuild(gSky.mVOGroundp->mDrawable, LLDrawable::REBUILD_ALL, TRUE); + if (gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_GROUND)) + { + gPipeline.markRebuild(gSky.mVOGroundp->mDrawable, LLDrawable::REBUILD_ALL, TRUE); + } if (mDrawable.notNull() && mDrawable->getFace(0) && !mDrawable->getFace(0)->getVertexBuffer()) { |