summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-02-02 20:36:00 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-02-02 20:36:00 +0000
commitdce015ddb0e7919c7792e93334f2912a095db82c (patch)
tree008f84d12c42a620b8f53527d16f34c3d50349a0 /indra
parent9af10a84cf0671d04e844299456d4bc48d1dec45 (diff)
MAINT-8239 - bad debug line
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoavatar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 9d54767c13..2c330daa27 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -5897,6 +5897,7 @@ void LLVOAvatar::addAttachmentOverridesForObject(LLViewerObject *vo)
return;
}
+ LLViewerObject *root_object = (LLViewerObject*)vobj->getRoot();
LL_DEBUGS("AnimatedObjects") << "trying to add attachment overrides for root object " << root_object->getID() << " prim is " << vobj << LL_ENDL;
if (vobj->isMesh() &&
((vobj->getVolume() && !vobj->getVolume()->isMeshAssetLoaded()) || !gMeshRepo.meshRezEnabled()))
@@ -5917,7 +5918,7 @@ void LLVOAvatar::addAttachmentOverridesForObject(LLViewerObject *vo)
{
const F32 pelvisZOffset = pSkinData->mPelvisOffset;
const LLUUID& mesh_id = pSkinData->mMeshID;
- LLViewerObject *root_object = (LLViewerObject*)vobj->getRoot();
+
LL_DEBUGS("AnimatedObjects") << "adding attachment overrides for " << mesh_id << " to root object " << root_object->getID() << LL_ENDL;
bool fullRig = (jointCnt>=JOINT_COUNT_REQUIRED_FOR_FULLRIG) ? true : false;
if ( fullRig )