summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorEuclid Linden <euclid@lindenlab.com>2022-05-26 22:36:03 +0000
committerEuclid Linden <euclid@lindenlab.com>2022-05-26 22:36:03 +0000
commit69aef3a80627e0924de098bd558dd3eb8ed9ba37 (patch)
treeaec974cfa30a841599d2f927aec287482a4a3c08 /indra/newview/pipeline.cpp
parent3b3d3d88d1755ac08c7d22721fa3fe1657f7c5fd (diff)
parent78c6c341c5c068878da3dd851acf36f73a03178d (diff)
Merged in DV559-merge-6.6.1 (pull request #997)
DRTVWR-559 merge up to release v6.6.1
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 55819449c6..3332185bfd 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -3877,7 +3877,11 @@ void LLPipeline::postSort(LLCamera& camera)
if (!sShadowRender)
{
+ // order alpha groups by distance
std::sort(sCull->beginAlphaGroups(), sCull->endAlphaGroups(), LLSpatialGroup::CompareDepthGreater());
+
+ // order rigged alpha groups by avatar attachment order
+ std::sort(sCull->beginRiggedAlphaGroups(), sCull->endRiggedAlphaGroups(), LLSpatialGroup::CompareRenderOrder());
}
LL_PUSH_CALLSTACKS();