Skip to content
Snippets Groups Projects
Commit 2f1158c0 authored by Cosmic Linden's avatar Cosmic Linden
Browse files

SL-19081: Fix assert when uploading texture

parent 2aaa15fe
No related branches found
No related tags found
No related merge requests found
...@@ -838,6 +838,8 @@ void LLImagePreviewSculpted::setPreviewTarget(LLImageRaw* imagep, F32 distance) ...@@ -838,6 +838,8 @@ void LLImagePreviewSculpted::setPreviewTarget(LLImageRaw* imagep, F32 distance)
{ {
*(index_strider++) = vf.mIndices[i]; *(index_strider++) = vf.mIndices[i];
} }
mVertexBuffer->unmapBuffer();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment