diff options
author | Dave Parks <davep@lindenlab.com> | 2010-10-29 15:34:03 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-10-29 15:34:03 -0500 |
commit | 2ca8a4865ade974b556d4a9c14ad378814c4e7a6 (patch) | |
tree | a334af3c5a035f472488a36956854080b03953f1 /indra | |
parent | 8c950152eafc65bbf82b2ad3e0e4dd529e9f762d (diff) |
SH-184 Don't render loading meshes as tetrahedrons.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llvovolume.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 0b2adc70d9..808b8723a2 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -4014,6 +4014,12 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) } LLVOVolume* vobj = drawablep->getVOVolume(); + + if (vobj->getVolume() && vobj->getVolume()->isTetrahedron()) + { + continue; + } + llassert_always(vobj); vobj->updateTextureVirtualSize(); vobj->preRebuild(); |