mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:03:53 +02:00
some comments
This commit is contained in:
parent
9be073cc12
commit
ee190db5eb
2 changed files with 3 additions and 0 deletions
|
@ -1423,6 +1423,7 @@ var PropertiesTool = function (opts) {
|
|||
pushCommandForSelections();
|
||||
selectionManager._update();
|
||||
} else if(data.type === 'saveUserData'){
|
||||
//the event bridge and json parsing handle our avatar id string differently.
|
||||
var actualID = data.id.split('"')[1]
|
||||
var success = Entities.editEntity(actualID, data.properties)
|
||||
} else if (data.type === "showMarketplace") {
|
||||
|
|
|
@ -758,9 +758,11 @@ function loaded() {
|
|||
} else {
|
||||
|
||||
properties = data.selections[0].properties;
|
||||
|
||||
if (lastEntityID !== '"' + properties.id + '"' && lastEntityID !== null && editor !== null) {
|
||||
saveJSONUserData(true);
|
||||
}
|
||||
//the event bridge and json parsing handle our avatar id string differently.
|
||||
|
||||
lastEntityID = '"' + properties.id + '"';
|
||||
elID.innerHTML = properties.id;
|
||||
|
|
Loading…
Reference in a new issue