summaryrefslogtreecommitdiff
path: root/indra/llprimitive
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2009-11-07 08:22:39 -0600
committerDave Parks <davep@lindenlab.com>2009-11-07 08:22:39 -0600
commit4e420a36c67e611cd7d85652b43d9cd65315e563 (patch)
tree9d6641f03969608f29215f7a524f20f6ffc422ab /indra/llprimitive
parent10069e0e13e3214ba9320fdce915440b2e12f938 (diff)
Fix for missing LOD spam.
Diffstat (limited to 'indra/llprimitive')
-rw-r--r--indra/llprimitive/llprimitive.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llprimitive/llprimitive.cpp b/indra/llprimitive/llprimitive.cpp
index 340f60ed1a..4c6d244f3c 100644
--- a/indra/llprimitive/llprimitive.cpp
+++ b/indra/llprimitive/llprimitive.cpp
@@ -948,7 +948,8 @@ BOOL LLPrimitive::setVolume(const LLVolumeParams &volume_params, const S32 detai
#else
// build the new object
sVolumeManager->unrefVolume(mVolumep);
- mVolumep = volumep;
+ mVolumep = volumep;
+
setNumTEs(mVolumep->getNumFaces());
#endif
return TRUE;