summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDavid Parks <davep@lindenlab.com>2009-11-04 14:19:05 +0000
committerDavid Parks <davep@lindenlab.com>2009-11-04 14:19:05 +0000
commit88292104d9a2332e6169f2add8f0b590bb22dbff (patch)
tree7c9b96b7b90aeb7a497e6faaab3461747bbdab0d /indra/newview
parent9c3595465972ba4be916e871f6b0a62cc0c13d4a (diff)
Fix for crash when loading some meshes.
Added button to auto-fill LODs.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/pipeline.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 7cf5cf75ad..4fc94c08bc 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -8988,6 +8988,7 @@ void LLPipeline::LLMeshThread::run()
{
LLVolumeParams volume_params;
volume_params.setType(LL_PCODE_PROFILE_SQUARE, LL_PCODE_PATH_LINE);
+ volume_params.setSculptID(mMeshID, LL_SCULPT_TYPE_MESH);
mVolume = new LLVolume(volume_params, mDetail);
mVolume->createVolumeFacesFromStream(buffer_stream);
}