diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llsurfacepatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llsurfacepatch.cpp b/linden/indra/newview/llsurfacepatch.cpp index d19d930..66d100f 100644 --- a/linden/indra/newview/llsurfacepatch.cpp +++ b/linden/indra/newview/llsurfacepatch.cpp | |||
@@ -813,7 +813,7 @@ void LLSurfacePatch::connectNeighbor(LLSurfacePatch *neighbor_patchp, const U32 | |||
813 | 813 | ||
814 | void LLSurfacePatch::updateVisibility() | 814 | void LLSurfacePatch::updateVisibility() |
815 | { | 815 | { |
816 | if (mVObjp == (LLVOSurfacePatch*)NULL) | 816 | if (mVObjp.isNull()) |
817 | { | 817 | { |
818 | return; | 818 | return; |
819 | } | 819 | } |