summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2021-09-28 20:20:23 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2021-09-28 20:20:23 +0100
commit542f1917e9e963862088936b819fd9f0c1425541 (patch)
treec93fa964ea9f9ca0f1cb4987977db1f0c900f202 /indra/newview/pipeline.cpp
parenta184a0fbeea8a9dea855dc6e4fd29d81803fa738 (diff)
SL-15999 - draw no objects when noninteractive
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 30703426ce..1730753eb1 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -487,10 +487,10 @@ void LLPipeline::init()
{
clearAllRenderTypes();
}
- //else if (gSavedSettings.getBOOL("NonInteractive"))
-// {
- // clearAllRenderTypes();
- //}
+ else if (gNonInteractive)
+ {
+ clearAllRenderTypes();
+ }
else
{
setAllRenderTypes(); // By default, all rendering types start enabled