mirror of
https://github.com/overte-org/overte.git
synced 2025-06-19 20:00:19 +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();
|
pushCommandForSelections();
|
||||||
selectionManager._update();
|
selectionManager._update();
|
||||||
} else if(data.type === 'saveUserData'){
|
} else if(data.type === 'saveUserData'){
|
||||||
|
//the event bridge and json parsing handle our avatar id string differently.
|
||||||
var actualID = data.id.split('"')[1]
|
var actualID = data.id.split('"')[1]
|
||||||
var success = Entities.editEntity(actualID, data.properties)
|
var success = Entities.editEntity(actualID, data.properties)
|
||||||
} else if (data.type === "showMarketplace") {
|
} else if (data.type === "showMarketplace") {
|
||||||
|
|
|
@ -758,9 +758,11 @@ function loaded() {
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
properties = data.selections[0].properties;
|
properties = data.selections[0].properties;
|
||||||
|
|
||||||
if (lastEntityID !== '"' + properties.id + '"' && lastEntityID !== null && editor !== null) {
|
if (lastEntityID !== '"' + properties.id + '"' && lastEntityID !== null && editor !== null) {
|
||||||
saveJSONUserData(true);
|
saveJSONUserData(true);
|
||||||
}
|
}
|
||||||
|
//the event bridge and json parsing handle our avatar id string differently.
|
||||||
|
|
||||||
lastEntityID = '"' + properties.id + '"';
|
lastEntityID = '"' + properties.id + '"';
|
||||||
elID.innerHTML = properties.id;
|
elID.innerHTML = properties.id;
|
||||||
|
|
Loading…
Reference in a new issue