summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2014-08-15 15:50:51 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2014-08-15 15:50:51 -0400
commit1fa233e35e25cdf98b604caa88fb4b8ef9727383 (patch)
tree2e6b8d4ed64585c94f1901e4fd5796c85939aa2d /indra
parent0fdfd3ceec14d3ffd6aa6268964ec91df44002a3 (diff)
more joint info in ArchetypeXML dump file
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llvoavatar.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index c548a65fe7..509de74ac3 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -7682,7 +7682,9 @@ void LLVOAvatar::dumpArchetypeXML(const std::string& prefix, bool group_by_weara
{
LLJoint* pJoint = (*iter);
const LLVector3& pos = pJoint->getPosition();
- apr_file_printf( file, "\t\t<joint name=\"%s\" position=\"%f %f %f\"/>\n", pJoint->getName().c_str(), pos[0], pos[1], pos[2]);
+ const LLVector3& scale = pJoint->getScale();
+ apr_file_printf( file, "\t\t<joint name=\"%s\" position=\"%f %f %f\" scale=\"%f %f %f\"/>\n",
+ pJoint->getName().c_str(), pos[0], pos[1], pos[2], scale[0], scale[1], scale[2]);
}
apr_file_printf( file, "\t</archetype>\n" );