diff options
| author | Dave Parks <davep@lindenlab.com> | 2022-06-02 18:43:06 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2022-06-02 18:43:06 -0500 |
| commit | 78f966b5db9abc8467fd2f9dc002aa3a16f0f7a2 (patch) | |
| tree | c153341dcb16555fd7116990f5bfc6d0c937920d /indra/newview/pipeline.cpp | |
| parent | 220afbcda0961df86ad08bbd51d96b8c868b2e62 (diff) | |
| parent | 69aef3a80627e0924de098bd558dd3eb8ed9ba37 (diff) | |
Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559
Diffstat (limited to 'indra/newview/pipeline.cpp')
| -rw-r--r-- | indra/newview/pipeline.cpp | 4 |
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(); |
