summaryrefslogtreecommitdiff
path: root/indra/newview/llmodelpreview.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2021-10-26 14:07:00 +0000
committerDave Parks <davep@lindenlab.com>2021-10-26 14:07:00 +0000
commit4e8cd9437bed90b3468b1bf12f545de16faefb67 (patch)
tree97456f016e716ad0c9ebd9011299952c12cdeb5f /indra/newview/llmodelpreview.cpp
parent081ae57831b40d46acfe8f70e727ab804597ae58 (diff)
SL-16193 Fix for mesh selection outline not rendering correctly (and broken physics shapes display).
Diffstat (limited to 'indra/newview/llmodelpreview.cpp')
-rw-r--r--indra/newview/llmodelpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index 01bddd781d..4fce6735e0 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -3126,7 +3126,7 @@ BOOL LLModelPreview::render()
}
gGL.diffuseColor4ubv(hull_colors[i].mV);
- LLVertexBuffer::drawArrays(LLRender::TRIANGLES, physics.mMesh[i].mPositions, physics.mMesh[i].mNormals);
+ LLVertexBuffer::drawArrays(LLRender::TRIANGLES, physics.mMesh[i].mPositions);
if (explode > 0.f)
{