diff options
author | Dave Parks <davep@lindenlab.com> | 2009-11-05 19:58:10 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2009-11-05 19:58:10 -0600 |
commit | 10069e0e13e3214ba9320fdce915440b2e12f938 (patch) | |
tree | 86a8845155728fb847efbeb3b9b03ffd3cf68763 /indra/llmath | |
parent | 1c495c56c1011f4514d96b75cbcfb5a8256de78f (diff) |
Fix for prims all being 0 lod.
Fix for dangling prim references.
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llvolume.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index ddd1b4b3db..33a8d33ce1 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -1692,9 +1692,10 @@ LLVolume::LLVolume(const LLVolumeParams ¶ms, const F32 detail, const BOOL ge mLODScaleBias.setVec(1,1,1); + generate(); + if (mParams.getSculptID().isNull() && params.getSculptType() == LL_SCULPT_TYPE_NONE) { - generate(); createVolumeFaces(); } } |