summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.cpp
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2011-03-14 18:02:25 -0400
committerprep <prep@lindenlab.com>2011-03-14 18:02:25 -0400
commit16ff50719055aae202011e4b20aeae41d98493fa (patch)
tree9afc5affdc3821f0896bb041f52d792a8ef73cec /indra/newview/llmeshrepository.cpp
parent3559789967513a1f3eecf1bc1ad38d9b073cb296 (diff)
WIP:Added pelvis offset to skinning info
Diffstat (limited to 'indra/newview/llmeshrepository.cpp')
-rwxr-xr-xindra/newview/llmeshrepository.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index e259ee9846..8e869b2d5b 100755
--- a/indra/newview/llmeshrepository.cpp
+++ b/indra/newview/llmeshrepository.cpp
@@ -1162,7 +1162,12 @@ bool LLMeshRepoThread::skinInfoReceived(const LLUUID& mesh_id, U8* data, S32 dat
info.mAlternateBindMatrix.push_back(mat);
}
}
-
+
+ if (skin.has("pelvis_offset"))
+ {
+ info.mPelvisOffset = skin["pelvis_offset"].asReal();
+ }
+
mSkinInfoQ.push(info);
}