From c3f0cb67a6ffc5db3b684237e954b17ede890268 Mon Sep 17 00:00:00 2001 From: Alexander Ivash Date: Sun, 13 May 2018 14:17:07 +0300 Subject: [PATCH] fix for inability to ajuste wearables after cancelling changes --- scripts/system/avatarapp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/avatarapp.js b/scripts/system/avatarapp.js index c44aadde48..7ea8fcfa53 100644 --- a/scripts/system/avatarapp.js +++ b/scripts/system/avatarapp.js @@ -143,7 +143,7 @@ function fromQml(message) { // messages are {method, params}, like json-rpc. See console.debug('reverting... '); if(currentAvatarWearablesBackup !== null) { AvatarBookmarks.updateAvatarEntities(currentAvatarWearablesBackup); - sendToQml({'method' : 'wearablesUpdated', 'wearables' : currentAvatarWearablesBackup, 'avatarName' : message.avatarName}) + sendToQml({'method' : 'wearablesUpdated', 'wearables' : getMyAvatarWearables(), 'avatarName' : message.avatarName}); } }