summaryrefslogtreecommitdiff
path: root/indra/newview/llcontrolavatar.cpp
diff options
context:
space:
mode:
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);