summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-10-29 15:34:03 -0500
committerDave Parks <davep@lindenlab.com>2010-10-29 15:34:03 -0500
commit2ca8a4865ade974b556d4a9c14ad378814c4e7a6 (patch)
treea334af3c5a035f472488a36956854080b03953f1 /indra/newview/llvovolume.cpp
parent8c950152eafc65bbf82b2ad3e0e4dd529e9f762d (diff)
SH-184 Don't render loading meshes as tetrahedrons.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp6
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();