mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:58:09 +02:00
fix for inability to ajuste wearables after cancelling changes
This commit is contained in:
parent
fe8bb3c8ea
commit
c3f0cb67a6
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ function fromQml(message) { // messages are {method, params}, like json-rpc. See
|
||||||
console.debug('reverting... ');
|
console.debug('reverting... ');
|
||||||
if(currentAvatarWearablesBackup !== null) {
|
if(currentAvatarWearablesBackup !== null) {
|
||||||
AvatarBookmarks.updateAvatarEntities(currentAvatarWearablesBackup);
|
AvatarBookmarks.updateAvatarEntities(currentAvatarWearablesBackup);
|
||||||
sendToQml({'method' : 'wearablesUpdated', 'wearables' : currentAvatarWearablesBackup, 'avatarName' : message.avatarName})
|
sendToQml({'method' : 'wearablesUpdated', 'wearables' : getMyAvatarWearables(), 'avatarName' : message.avatarName});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue