summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolfocus.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-06-23 18:32:31 -0700
committerRichard Nelson <none@none>2010-06-23 18:32:31 -0700
commit6dd35018d2f7aa84973b8e7ff743e8de6454f01c (patch)
tree98b3728dd05af46a1606fb3e6d8aadc294964942 /indra/newview/lltoolfocus.cpp
parent0aabcc81346390fe312bf03355744a6e13ab0927 (diff)
EXT-7767 FIX Outfit editor doesn't appear to have a default camera view
added some comments and cleaned up code based on review
Diffstat (limited to 'indra/newview/lltoolfocus.cpp')
-rw-r--r--indra/newview/lltoolfocus.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/newview/lltoolfocus.cpp b/indra/newview/lltoolfocus.cpp
index 032714cabf..b9875f465a 100644
--- a/indra/newview/lltoolfocus.cpp
+++ b/indra/newview/lltoolfocus.cpp
@@ -236,7 +236,6 @@ void LLToolCamera::pickCallback(const LLPickInfo& pick_info)
gAgentCamera.setFocusOnAvatar(FALSE, FALSE);
LLVector3d cam_pos = gAgentCamera.getCameraPositionGlobal();
- cam_pos -= LLVector3d(LLViewerCamera::getInstance()->getLeftAxis() * gAgentCamera.calcCustomizeAvatarUIOffset( cam_pos ));
gAgentCamera.setCameraPosAndFocusGlobal( cam_pos, pick_info.mPosGlobal, pick_info.mObjectID);
}