diff options
author | Brett Joseph <bjoseph@vivox.com> | 2015-05-11 09:52:18 -0400 |
---|---|---|
committer | Brett Joseph <bjoseph@vivox.com> | 2015-05-11 09:52:18 -0400 |
commit | 43b7fe66db159faaa84d545f97818e7a6f0f6920 (patch) | |
tree | 6581ed36e716f6aa57b01f2861d6812294fb2261 /indra/llprimitive/llmodel.cpp | |
parent | 7cc3e9b3cf8d70fce2ba0d4a398824e599fc8c5d (diff) | |
parent | e611e35e033e99f619b0e4938f6879c8e387efd5 (diff) |
Merged lindenlab/viewer-tools-update into default
Diffstat (limited to 'indra/llprimitive/llmodel.cpp')
-rwxr-xr-x | indra/llprimitive/llmodel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index caabbf997f..1571427d51 100755 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -1681,11 +1681,11 @@ LLSD LLModel::writeModel( } } - F32* src_tc = (F32*) face.mTexCoords[j].mV; - //texcoord if (face.mTexCoords) { + F32* src_tc = (F32*) face.mTexCoords[j].mV; + for (U32 k = 0; k < 2; ++k) { //for each component //convert to 16-bit normalized @@ -2012,7 +2012,7 @@ bool LLModel::loadModel(std::istream& is) } } - std::string nm[] = + static const std::string nm[] = { "lowest_lod", "low_lod", |