Merged in lindenlab/viewer-lynx

meow-7.2.2
AndreyL ProductEngine 2017-03-29 03:15:21 +03:00
commit d9effe167d
3 changed files with 10 additions and 7 deletions

View File

@ -1537,11 +1537,14 @@ 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;
if (mFocusOnAvatar)
{
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)

View File

@ -9,7 +9,7 @@
save_rect="true"
single_instance="true"
reuse_instance="true"
title="UPLOAD TO FLICKR"
title="SHARE TO FLICKR"
height="590"
width="272">
<panel

View File

@ -237,7 +237,7 @@ Use "" for multi-word tags
top_pad="7"
left="10"
height="23"
label="Upload"
label="Share"
name="post_photo_btn"
width="100">
<button.commit_callback