mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 14:33:30 +02:00
fix bad comparison causing undeleted grabs
This commit is contained in:
parent
c9ef439a7f
commit
f2b9f088b4
1 changed files with 1 additions and 1 deletions
|
@ -1938,7 +1938,7 @@ scriptable::ScriptableModelBase Avatar::getScriptableModel() {
|
|||
void Avatar::clearAvatarGrabData(const QUuid& id) {
|
||||
AvatarData::clearAvatarGrabData(id);
|
||||
_avatarGrabsLock.withWriteLock([&] {
|
||||
if (_avatarGrabs.find(id) == _avatarGrabs.end()) {
|
||||
if (_avatarGrabs.find(id) != _avatarGrabs.end()) {
|
||||
_grabsToDelete.push_back(id);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue