summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-11-09 14:20:46 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-11-09 14:20:46 +0200
commit5921cc9d8a3896af70836eb2dbc8c8085e13ee43 (patch)
treeafe2d977eb512d8d1337ec48c0dcf96b4cc3271f
parentdb69d6a49e23577b6d2c4297f49cebe468eed262 (diff)
MAINT-6917 Setting one avatar to "Do not render" causes all avatars to become imposters
-rwxr-xr-xdoc/contributions.txt1
-rw-r--r--indra/newview/pipeline.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/contributions.txt b/doc/contributions.txt
index 23aa162301..49a09a627f 100755
--- a/doc/contributions.txt
+++ b/doc/contributions.txt
@@ -206,6 +206,7 @@ Ansariel Hiller
MAINT-6773
MAINT-6906
MAINT-6911
+ MAINT-6917
STORM-2140
Aralara Rajal
Arare Chantilly
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index c6bbfb1c8f..70989bacff 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -11623,7 +11623,7 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar)
avatar->setImpostorDim(tdim);
- LLVOAvatar::sUseImpostors = true; // @TODO ???
+ LLVOAvatar::sUseImpostors = (0 != LLVOAvatar::sMaxNonImpostors);
sUseOcclusion = occlusion;
sReflectionRender = FALSE;
sImpostorRender = FALSE;