summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-10-12 18:53:49 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-10-12 18:53:49 +0100
commit0109a71d1ccf5f9bff9b454415ed67dd43b70157 (patch)
tree526045718d684507608fddd263081964984340ed /indra/newview/llvoavatar.cpp
parentb920893fa4be1b5e61e938bda79147a9c5522726 (diff)
SL-9857 - suppress constraint adjustments immediately after region crossing
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 7b0029892c..0180ab8fb6 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -1110,6 +1110,8 @@ void LLVOAvatar::initClass()
// Where should this be set initially?
LLJoint::setDebugJointNames(gSavedSettings.getString("DebugAvatarJoints"));
+
+ LLControlAvatar::sRegionChangedSlot = gAgent.addRegionChangedCallback(&LLControlAvatar::onRegionChanged);
}