diff options
author | Dave Parks <davep@lindenlab.com> | 2011-03-03 16:14:52 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-03-03 16:14:52 -0600 |
commit | 162d467b4a8ca1dae6b16ece1728873d43a287ac (patch) | |
tree | f0ef60a4bdae99efb6b829b51841993bc3f6fa01 /indra/newview/llviewerjointmesh_sse2.cpp | |
parent | fcb205131ccc02b2b50e79ad274ed4ef4fec0330 (diff) |
SH-1085 Fix for crash when unchecking "mirror." Basically got LLFace to be paranoid about who gets to touch its LLVertexBuffer members.
Reviewed by Nyx.
Diffstat (limited to 'indra/newview/llviewerjointmesh_sse2.cpp')
-rw-r--r-- | indra/newview/llviewerjointmesh_sse2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerjointmesh_sse2.cpp b/indra/newview/llviewerjointmesh_sse2.cpp index 5871823dde..c2296dd569 100644 --- a/indra/newview/llviewerjointmesh_sse2.cpp +++ b/indra/newview/llviewerjointmesh_sse2.cpp @@ -90,7 +90,7 @@ void LLViewerJointMesh::updateGeometrySSE2(LLFace *face, LLPolyMesh *mesh) LLStrider<LLVector3> o_vertices; LLStrider<LLVector3> o_normals; - LLVertexBuffer *buffer = face->mVertexBuffer; + LLVertexBuffer *buffer = face->getVertexBuffer(); buffer->getVertexStrider(o_vertices, mesh->mFaceVertexOffset); buffer->getNormalStrider(o_normals, mesh->mFaceVertexOffset); |