mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 13:49:46 +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" });
|
array.push({ label: "Entity Type:" + properties.type, type: "header" });
|
||||||
index++;
|
index++;
|
||||||
|
array.push({ label: "ID:", value: properties.id });
|
||||||
|
index++;
|
||||||
array.push({ label: "Locked:", type: "checkbox", value: properties.locked });
|
array.push({ label: "Locked:", type: "checkbox", value: properties.locked });
|
||||||
index++;
|
index++;
|
||||||
|
|
||||||
|
@ -265,6 +267,7 @@ EntityPropertyDialogBox = (function () {
|
||||||
var properties = propertiesForEditedEntity;
|
var properties = propertiesForEditedEntity;
|
||||||
var index = 0;
|
var index = 0;
|
||||||
index++; // skip type header
|
index++; // skip type header
|
||||||
|
index++; // skip id item
|
||||||
properties.locked = array[index++].value;
|
properties.locked = array[index++].value;
|
||||||
if (properties.type == "Model") {
|
if (properties.type == "Model") {
|
||||||
properties.modelURL = array[index++].value;
|
properties.modelURL = array[index++].value;
|
||||||
|
|
Loading…
Reference in a new issue