summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-10-15 20:39:40 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-10-15 20:39:40 +0300
commit1f5f9d2e5964a9bcd187f730ee4c3d6a5357df19 (patch)
tree601ed82584cbf6429be302fc034fc704a4e431e8 /indra/newview/llvoavatar.cpp
parentb964850141f3a749ff7551ebf871756a02d39085 (diff)
parent7a90e71adf230f24c930a97140c19bc26f2bdcc6 (diff)
Downstream merge from lindenlab/viewer-serval
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 37ad7a53a8..e42a7269b4 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -7334,13 +7334,6 @@ void LLVOAvatar::sitOnObject(LLViewerObject *sit_object)
if (root_object == sit_object)
{
LLFloaterTools::sPreviousFocusOnAvatar = true;
- if (!gSavedSettings.getBOOL("EditCameraMovement"))
- {
- // always freeze camera in space, even if camera doesn't move
- // so, for example, follow cam scripts can't affect you when in build mode
- gAgentCamera.setFocusGlobal(gAgentCamera.calcFocusPositionTargetGlobal(), LLUUID::null);
- gAgentCamera.setFocusOnAvatar(FALSE, ANIMATE);
- }
}
}
}