diff options
| author | Logan Dethrow <log@lindenlab.com> | 2011-07-28 10:41:59 -0400 |
|---|---|---|
| committer | Logan Dethrow <log@lindenlab.com> | 2011-07-28 10:41:59 -0400 |
| commit | 814a2d24dca5181a31316a6f5e00e1a1cf55f23e (patch) | |
| tree | c57c3bb773070bba41251a857b59549fe7e04303 /indra/newview/llvowater.cpp | |
| parent | b6be1bb71853d6a5b6b6fd9423fa00ffc8ce096c (diff) | |
| parent | 825fc273ee5167052d811dc058b1834c86e005da (diff) | |
Merge
Diffstat (limited to 'indra/newview/llvowater.cpp')
| -rw-r--r-- | indra/newview/llvowater.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvowater.cpp b/indra/newview/llvowater.cpp index 69ebad61ac..e70ac0a2e7 100644 --- a/indra/newview/llvowater.cpp +++ b/indra/newview/llvowater.cpp @@ -282,6 +282,11 @@ void LLVOWater::updateSpatialExtents(LLVector4a &newMin, LLVector4a& newMax) U32 LLVOWater::getPartitionType() const { + if (mIsEdgePatch) + { + return LLViewerRegion::PARTITION_VOIDWATER; + } + return LLViewerRegion::PARTITION_WATER; } @@ -300,6 +305,7 @@ LLWaterPartition::LLWaterPartition() LLVoidWaterPartition::LLVoidWaterPartition() { + mOcclusionEnabled = FALSE; mDrawableType = LLPipeline::RENDER_TYPE_VOIDWATER; mPartitionType = LLViewerRegion::PARTITION_VOIDWATER; } |
