mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Fix look-at target position getting stuck when avatar moves out of range
This commit is contained in:
parent
738c5658fa
commit
e37fd956ed
1 changed files with 2 additions and 0 deletions
|
@ -859,6 +859,8 @@ void MyAvatar::updateLookAtTargetAvatar() {
|
|||
} else {
|
||||
avatar->getHead()->clearCorrectedLookAtPosition();
|
||||
}
|
||||
} else {
|
||||
avatar->getHead()->clearCorrectedLookAtPosition();
|
||||
}
|
||||
}
|
||||
auto avatarPointer = _lookAtTargetAvatar.lock();
|
||||
|
|
Loading…
Reference in a new issue