summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2017-03-28 12:30:20 +0300
committerandreykproductengine <akleshchev@productengine.com>2017-03-28 12:30:20 +0300
commit7603eb51c58db135cf5c49eb10247c8e9ea46bd8 (patch)
tree51b63330a517c8cce8a41f25d82582ffc8a18fea /indra/newview
parent83694e1404b27a74053a4567b9546e06845f5fbb (diff)
Backed out changeset: 50e72280019f
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llagentcamera.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index 7723dbf978..e335eabd1a 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -1537,11 +1537,6 @@ LLVector3d LLAgentCamera::calcFocusPositionTargetGlobal()
}
else if (mCameraMode == CAMERA_MODE_CUSTOMIZE_AVATAR)
{
- LLVector3 focus_target = isAgentAvatarValid()
- ? gAgentAvatarp->mHeadp->getWorldPosition()
- : gAgent.getPositionAgent();
- LLVector3d focus_target_global = gAgent.getPosGlobalFromAgent(focus_target);
- mFocusTargetGlobal = focus_target_global;
return mFocusTargetGlobal;
}
else if (!mFocusOnAvatar)