fix lock type

This commit is contained in:
Seth Alves 2015-12-16 15:52:20 -08:00
parent ea202c5271
commit 5f9bdcb2aa

View file

@ -52,7 +52,7 @@ void AvatarActionHold::prepareForPhysicsSimulation() {
return;
}
withReadLock([&]{
withWriteLock([&]{
if (_ignoreIK && holdingAvatar->isMyAvatar()) {
return;
}