diff options
| author | Dave Parks <davep@lindenlab.com> | 2009-11-30 15:32:10 -0600 | 
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2009-11-30 15:32:10 -0600 | 
| commit | 062a2dd309ca5521d4045eb721496476f43d24dc (patch) | |
| tree | 6e2c12068a99468b916ce9c02fa1c08cffcc86f1 /indra | |
| parent | bb614fa887ec7cadc5b370c1dcf412ae5cf662e1 (diff) | |
Remove zero area triangles from meshes post-import.
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llmath/llvolume.cpp | 3 | 
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 ¶ms, const F32 detail, const BOOL ge  	mGenerateSingleFace = generate_single_face; -	generate(); -  	if (mParams.getSculptID().isNull() && params.getSculptType() == LL_SCULPT_TYPE_NONE)  	{ +		generate();  		createVolumeFaces();  	}  } | 
