summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2009-11-30 15:32:10 -0600
committerDave Parks <davep@lindenlab.com>2009-11-30 15:32:10 -0600
commit062a2dd309ca5521d4045eb721496476f43d24dc (patch)
tree6e2c12068a99468b916ce9c02fa1c08cffcc86f1 /indra/llmath
parentbb614fa887ec7cadc5b370c1dcf412ae5cf662e1 (diff)
Remove zero area triangles from meshes post-import.
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llvolume.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index 3e547aec6f..1d36da7f52 100644
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -1692,10 +1692,9 @@ LLVolume::LLVolume(const LLVolumeParams &params, const F32 detail, const BOOL ge
mGenerateSingleFace = generate_single_face;
- generate();
-
if (mParams.getSculptID().isNull() && params.getSculptType() == LL_SCULPT_TYPE_NONE)
{
+ generate();
createVolumeFaces();
}
}