Skip to content
Snippets Groups Projects
Commit d9effe16 authored by AndreyL ProductEngine's avatar AndreyL ProductEngine
Browse files

Merged in lindenlab/viewer-lynx

parents 084f7cf4 45dd355d
No related branches found
No related tags found
No related merge requests found
...@@ -1537,11 +1537,14 @@ LLVector3d LLAgentCamera::calcFocusPositionTargetGlobal() ...@@ -1537,11 +1537,14 @@ LLVector3d LLAgentCamera::calcFocusPositionTargetGlobal()
} }
else if (mCameraMode == CAMERA_MODE_CUSTOMIZE_AVATAR) else if (mCameraMode == CAMERA_MODE_CUSTOMIZE_AVATAR)
{ {
LLVector3 focus_target = isAgentAvatarValid() if (mFocusOnAvatar)
? gAgentAvatarp->mHeadp->getWorldPosition() {
: gAgent.getPositionAgent(); LLVector3 focus_target = isAgentAvatarValid()
LLVector3d focus_target_global = gAgent.getPosGlobalFromAgent(focus_target); ? gAgentAvatarp->mHeadp->getWorldPosition()
mFocusTargetGlobal = focus_target_global; : gAgent.getPositionAgent();
LLVector3d focus_target_global = gAgent.getPosGlobalFromAgent(focus_target);
mFocusTargetGlobal = focus_target_global;
}
return mFocusTargetGlobal; return mFocusTargetGlobal;
} }
else if (!mFocusOnAvatar) else if (!mFocusOnAvatar)
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
save_rect="true" save_rect="true"
single_instance="true" single_instance="true"
reuse_instance="true" reuse_instance="true"
title="UPLOAD TO FLICKR" title="SHARE TO FLICKR"
height="590" height="590"
width="272"> width="272">
<panel <panel
......
...@@ -237,7 +237,7 @@ Use "" for multi-word tags ...@@ -237,7 +237,7 @@ Use "" for multi-word tags
top_pad="7" top_pad="7"
left="10" left="10"
height="23" height="23"
label="Upload" label="Share"
name="post_photo_btn" name="post_photo_btn"
width="100"> width="100">
<button.commit_callback <button.commit_callback
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment