diff options
author | Dave Parks <davep@lindenlab.com> | 2009-11-05 19:58:10 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2009-11-05 19:58:10 -0600 |
commit | 10069e0e13e3214ba9320fdce915440b2e12f938 (patch) | |
tree | 86a8845155728fb847efbeb3b9b03ffd3cf68763 /indra/newview/pipeline.cpp | |
parent | 1c495c56c1011f4514d96b75cbcfb5a8256de78f (diff) |
Fix for prims all being 0 lod.
Fix for dangling prim references.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 4ac95fa939..3554ceb7f0 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -8949,6 +8949,7 @@ void LLPipeline::loadMesh(LLVOVolume* vobj, LLUUID mesh_id, S32 detail) group->derefLOD(lod); return; } + group->derefLOD(lod); } //no lower LOD is a available, is a higher lod available? @@ -8961,6 +8962,7 @@ void LLPipeline::loadMesh(LLVOVolume* vobj, LLUUID mesh_id, S32 detail) group->derefLOD(lod); return; } + group->derefLOD(lod); } } } |