summaryrefslogtreecommitdiff
path: root/indra/newview/llworld.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-09-06 09:42:11 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-09-06 09:42:11 -0400
commit08c0de785f29801c57feebce8fae593f86113777 (patch)
tree6661b84ca6540f0907b4321f6e49a88be75c2e98 /indra/newview/llworld.cpp
parent76f867c8913094573bfa278fc39907d6b0779ec5 (diff)
parent0ab6eee0996c78d32b722157140cea5a21a5e460 (diff)
merge
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r--indra/newview/llworld.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index 4a6ec7fdbb..a7ae456f3c 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -127,6 +127,12 @@ void LLWorld::destroyClass()
LLVOCache::getInstance()->destroyClass() ;
}
LLViewerPartSim::getInstance()->destroyClass();
+
+ mDefaultWaterTexturep = NULL ;
+ for (S32 i = 0; i < 8; i++)
+ {
+ mEdgeWaterObjects[i] = NULL;
+ }
}