summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2011-02-08 17:40:07 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2011-02-08 17:40:07 -0500
commit44119c512f7eca7caa7a521090914624c502a9b1 (patch)
tree9ca7ba6f1cc04b50bdaec811d5fe972c7194eb40 /indra
parent8b15ca8d6b9cf516670e66ee57591e79b898394d (diff)
SH-940 FIX crash on startup
Setting the lighting detail happens when we force a graphics level on startup. This got added with handleRenderLocalLightsChanged, which got added recently. setLightingDetail is safe to call with the pipeline uninitialized. Removing the assert to stop the crash. Fix verified to be safe by davep.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/pipeline.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index ca58d8275b..69173d26f4 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1021,7 +1021,6 @@ S32 LLPipeline::getMaxLightingDetail() const
S32 LLPipeline::setLightingDetail(S32 level)
{
LLMemType mt_ld(LLMemType::MTYPE_PIPELINE_LIGHTING_DETAIL);
- assertInitialized();
if (level < 0)
{