diff options
author | RunitaiLinden <davep@lindenlab.com> | 2024-02-07 11:20:06 -0600 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2024-02-07 11:20:06 -0600 |
commit | 78cc23f89ce01eff6531d4130bdb8016296043a6 (patch) | |
tree | bc89602fc63bb40b15f76ce91b7cb6d33d4511d8 /indra/newview/pipeline.cpp | |
parent | b0c7dc653dc730f1f95aa95fc6df876dfe7b04a0 (diff) | |
parent | 7a5b0f5acf0b8aee3e73af0eb15d8c6930b98243 (diff) |
Merge branch 'release/materials_featurette' into materials_featurette/mirrors
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 3bd7acb06a..9fb9ade943 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -8246,6 +8246,7 @@ void LLPipeline::renderDeferredLighting() LLPipeline::RENDER_TYPE_CONTROL_AV, LLPipeline::RENDER_TYPE_ALPHA_MASK, LLPipeline::RENDER_TYPE_FULLBRIGHT_ALPHA_MASK, + LLPipeline::RENDER_TYPE_TERRAIN, LLPipeline::RENDER_TYPE_WATER, END_RENDER_TYPES); @@ -10874,3 +10875,12 @@ void LLPipeline::rebuildDrawInfo() } } +void LLPipeline::rebuildTerrain() +{ + for (LLWorld::region_list_t::const_iterator iter = LLWorld::getInstance()->getRegionList().begin(); + iter != LLWorld::getInstance()->getRegionList().end(); ++iter) + { + LLViewerRegion* region = *iter; + region->dirtyAllPatches(); + } +} |