summaryrefslogtreecommitdiff
path: root/indra/newview/llcontrolavatar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-06-09 21:13:54 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-06-09 21:13:54 +0100
commitc5dc0ee36e8d17fd0cf25f5a1fbdfb8609a64ee0 (patch)
tree8efb79ca33fda8b29fd46dbdfc44d9d8a6231d3e /indra/newview/llcontrolavatar.cpp
parentc9baf4c66157c601cc4d4e325c7843b3bf9a0cad (diff)
SL-704 - code cleanup
Diffstat (limited to 'indra/newview/llcontrolavatar.cpp')
-rw-r--r--indra/newview/llcontrolavatar.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llcontrolavatar.cpp b/indra/newview/llcontrolavatar.cpp
index 1ecd3305ed..a8caba08af 100644
--- a/indra/newview/llcontrolavatar.cpp
+++ b/indra/newview/llcontrolavatar.cpp
@@ -92,14 +92,11 @@ void LLControlAvatar::updateGeom(LLVOVolume *obj)
LLControlAvatar *LLControlAvatar::createControlAvatar(LLVOVolume *obj)
{
- // TRIF Lifted from LLPreviewAnimation
+ // AXON Lifted from LLPreviewAnimation
LLControlAvatar *cav = (LLControlAvatar*)gObjectList.createObjectViewer(LL_PCODE_LEGACY_AVATAR, gAgent.getRegion(), CO_FLAG_CONTROL_AVATAR);
cav->createDrawable(&gPipeline);
cav->mIsDummy = TRUE;
cav->mSpecialRenderMode = 1;
- //cav->setPositionAgent(obj->getRenderPosition());
- //cav->slamPosition();
- //cav->setRotation(obj->getRotation());
cav->updateJointLODs();
cav->updateGeometry(cav->mDrawable);
cav->startMotion(ANIM_AGENT_STAND, 5.0f);