mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 06:24:20 +02:00
add ID to the properties dialog box
This commit is contained in:
parent
cdeaaf2ca9
commit
7449821a9b
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,8 @@ EntityPropertyDialogBox = (function () {
|
|||
|
||||
array.push({ label: "Entity Type:" + properties.type, type: "header" });
|
||||
index++;
|
||||
array.push({ label: "ID:", value: properties.id });
|
||||
index++;
|
||||
array.push({ label: "Locked:", type: "checkbox", value: properties.locked });
|
||||
index++;
|
||||
|
||||
|
@ -265,6 +267,7 @@ EntityPropertyDialogBox = (function () {
|
|||
var properties = propertiesForEditedEntity;
|
||||
var index = 0;
|
||||
index++; // skip type header
|
||||
index++; // skip id item
|
||||
properties.locked = array[index++].value;
|
||||
if (properties.type == "Model") {
|
||||
properties.modelURL = array[index++].value;
|
||||
|
|
Loading…
Reference in a new issue