summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-10-15 15:56:40 +0300
committermaxim_productengine <mnikolenko@productengine.com>2019-10-15 15:56:40 +0300
commit9666a96e68cb6b75031051fc43f44b2c566b135c (patch)
treee03a2ef2d2324810b88213c34729edd6a329e6e9 /indra/newview
parentfe490d52b45679edf5740fa46fc3c76d608bfc95 (diff)
SL-12115 FIXED The camera flies away when sitting on a new object with edit mode enabled
Diffstat (limited to 'indra/newview')
-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 f861c0cecf..a974c66ee4 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -7331,13 +7331,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);
- }
}
}
}