summaryrefslogtreecommitdiff
path: root/indra/llappearance
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-11-23 14:52:07 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-11-23 14:52:07 -0500
commitc964633a3594c0f2dca8385958a51c471a7ea0db (patch)
tree4af152b945ad2d289b1c8ae52fa7bd91b80d6255 /indra/llappearance
parentfff9d936f93cd22efcdcc4b37489d57100d8d261 (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-xindra/llappearance/llavatarappearance.cpp2
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");