mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 17:03:43 +02:00
16683 Avatar App - Add to Favorites Button Not Working
This commit is contained in:
parent
2597568a0a
commit
437f49ac22
1 changed files with 3 additions and 0 deletions
|
@ -159,6 +159,9 @@ function fromQml(message) { // messages are {method, params}, like json-rpc. See
|
|||
|
||||
for(var bookmarkName in message.data.bookmarks) {
|
||||
var bookmark = message.data.bookmarks[bookmarkName];
|
||||
if (!bookmark.avatarEntites) { // ensure avatarEntites always exist
|
||||
bookmark.avatarEntites = [];
|
||||
}
|
||||
|
||||
bookmark.avatarEntites.forEach(function(avatarEntity) {
|
||||
avatarEntity.properties.localRotationAngles = Quat.safeEulerAngles(avatarEntity.properties.localRotation)
|
||||
|
|
Loading…
Reference in a new issue