summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2017-03-29 03:15:21 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2017-03-29 03:15:21 +0300
commitd9effe167d19101099cbb8be263fdbfdea93e70e (patch)
tree47198ea02cf26cfc249977c9af0845a39c9f20ad /indra
parent084f7cf44a3259242d28264f0bb191004282dd9c (diff)
parent45dd355d46dc8ea5a0a6934722ffc76f9d955a9f (diff)
Merged in lindenlab/viewer-lynx
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llagentcamera.cpp13
-rw-r--r--indra/newview/skins/default/xui/en/floater_flickr.xml2
-rw-r--r--indra/newview/skins/default/xui/en/panel_flickr_photo.xml2
3 files changed, 10 insertions, 7 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index 7723dbf978..5b9f1b9d4f 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -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)
diff --git a/indra/newview/skins/default/xui/en/floater_flickr.xml b/indra/newview/skins/default/xui/en/floater_flickr.xml
index 52ef16c7e8..3b9c4894c1 100644
--- a/indra/newview/skins/default/xui/en/floater_flickr.xml
+++ b/indra/newview/skins/default/xui/en/floater_flickr.xml
@@ -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
diff --git a/indra/newview/skins/default/xui/en/panel_flickr_photo.xml b/indra/newview/skins/default/xui/en/panel_flickr_photo.xml
index e31695645d..6074ab9ef6 100644
--- a/indra/newview/skins/default/xui/en/panel_flickr_photo.xml
+++ b/indra/newview/skins/default/xui/en/panel_flickr_photo.xml
@@ -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