summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llmodel.cpp
diff options
context:
space:
mode:
authorNorthspring <pantera.polnocy@phoenixviewer.com>2015-04-15 00:23:36 +0200
committerNorthspring <pantera.polnocy@phoenixviewer.com>2015-04-15 00:23:36 +0200
commit49630f6bf56db8b2561d99cd71cfcf2b7bee9f90 (patch)
tree2b44d1dde9392cf2e5eaa9cb60d2033f0d9bc355 /indra/llprimitive/llmodel.cpp
parent079ad3b5767c444a29f97ca2e6b27fdb28f4b116 (diff)
parenta647b8f1cbab13f07ea889c80df28414bc906129 (diff)
Merge
Diffstat (limited to 'indra/llprimitive/llmodel.cpp')
-rwxr-xr-xindra/llprimitive/llmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp
index aa8dd7697c..e0294cfd6a 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",