diff options
author | Dave Parks <davep@lindenlab.com> | 2011-08-10 13:01:14 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-08-10 13:01:14 -0500 |
commit | 2ee815478043c4d5845f094f744a055707dba0e0 (patch) | |
tree | 7a34bf2b60eaf609af9f3e8dab20268ed720d75c /indra/newview/llspatialpartition.cpp | |
parent | f076bdf609ec1fe114a7d0222a318483c97c7a26 (diff) |
SH-2238, SH-2223, SH-SH-2242 glVertexAttrib throughout main render pipeline complete, preview renders and debug displays still pending. Also fixed a render glitch and a crash (JIRAs listed).
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 064eaa49dd..3d371f7a44 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -4248,7 +4248,7 @@ public: LLVector3 local_start = mStart; LLVector3 local_end = mEnd; - if (!gPipeline.hasRenderType(drawable->getRenderType()) || !drawable->isVisible()) + if (!drawable || !gPipeline.hasRenderType(drawable->getRenderType()) || !drawable->isVisible()) { return false; } |