summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-04-10 00:27:32 -0500
committerDave Parks <davep@lindenlab.com>2013-04-10 00:27:32 -0500
commit78d23e66425265e43584c6c4fd4fce9c675f4771 (patch)
tree74042c738f5c1e039e7da13e021fdcd43fc6735c /indra/newview/llspatialpartition.cpp
parent5425e3fa8978ce37f85ab15c77ef5380360970c4 (diff)
NORSPEC-75 Add appropriate draw calls to underwater render passes so objects with material data don't disappear in water.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r--indra/newview/llspatialpartition.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index 7ec0d7df58..f42586c715 100644
--- a/indra/newview/llspatialpartition.cpp
+++ b/indra/newview/llspatialpartition.cpp
@@ -4639,6 +4639,7 @@ LLDrawInfo::LLDrawInfo(U16 start, U16 end, U32 count, U32 offset,
mFace(NULL),
mDistance(0.f),
mDrawMode(LLRender::TRIANGLES),
+ mMaterial(NULL),
mSpecColor(1.0f, 1.0f, 1.0f, 0.5f),
mEnvIntensity(0.0f),
mAlphaMaskCutoff(0.5f),