diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-06-27 14:01:42 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-06-27 14:01:42 -0500 |
commit | 298109864503d9c1e00d41dd1556f9dfea988e14 (patch) | |
tree | b3270ef46bc76941dab734096659bf2ed8a7cc1d /indra | |
parent | 74a9bf4f1ef1b865f4fe980eaf7451422147f116 (diff) |
SL-19897 Followup -- handle 100% transparent objects that are "active"
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/pipeline.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index e64ef6d555..0c767e7767 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -10600,8 +10600,11 @@ public: { LLSpatialGroup* group = (LLSpatialGroup*)state->getListener(0); - group->setState(LLSpatialGroup::GEOM_DIRTY); - gPipeline.markRebuild(group); + if (group->getSpatialPartition()->mRenderByGroup) + { + group->setState(LLSpatialGroup::GEOM_DIRTY); + gPipeline.markRebuild(group); + } for (LLSpatialGroup::bridge_list_t::iterator i = group->mBridgeList.begin(); i != group->mBridgeList.end(); ++i) { @@ -10623,6 +10626,9 @@ void LLPipeline::rebuildDrawInfo() LLSpatialPartition* part = region->getSpatialPartition(LLViewerRegion::PARTITION_VOLUME); dirty.traverse(part->mOctree); + + part = region->getSpatialPartition(LLViewerRegion::PARTITION_BRIDGE); + dirty.traverse(part->mOctree); } } |