diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-11-23 14:52:07 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-11-23 14:52:07 -0500 |
commit | c964633a3594c0f2dca8385958a51c471a7ea0db (patch) | |
tree | 4af152b945ad2d289b1c8ae52fa7bd91b80d6255 /indra/llappearance | |
parent | fff9d936f93cd22efcdcc4b37489d57100d8d261 (diff) |
SL-271 WIP - skip rendering bones with no end (set as 0 length). Show bones if show joints is enabled in mesh upload preview.
Diffstat (limited to 'indra/llappearance')
-rwxr-xr-x | indra/llappearance/llavatarappearance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp index de541add97..ba4dbc30fd 100755 --- a/indra/llappearance/llavatarappearance.cpp +++ b/indra/llappearance/llavatarappearance.cpp @@ -1578,7 +1578,7 @@ BOOL LLAvatarBoneInfo::parseXml(LLXmlTreeNode* node) if (!node->getFastAttributeVector3(end_string, mEnd)) { LL_WARNS() << "Bone without end " << mName << LL_ENDL; - mEnd = LLVector3(1.0f, 0.0f, 0.0f); + mEnd = LLVector3(0.0f, 0.0f, 0.0f); } static LLStdStringHandle support_string = LLXmlTree::addAttributeString("support"); |