diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-02-08 17:40:07 -0500 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-02-08 17:40:07 -0500 |
commit | 44119c512f7eca7caa7a521090914624c502a9b1 (patch) | |
tree | 9ca7ba6f1cc04b50bdaec811d5fe972c7194eb40 /indra/newview | |
parent | 8b15ca8d6b9cf516670e66ee57591e79b898394d (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/newview')
-rwxr-xr-x | indra/newview/pipeline.cpp | 1 |
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) { |