mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 06:03:26 +02:00
fix property edit dialog box
This commit is contained in:
parent
e544c06b92
commit
18f3a208f7
1 changed files with 13 additions and 0 deletions
|
@ -570,6 +570,19 @@ function handeMenuEvent(menuItem) {
|
|||
}
|
||||
} else if (menuItem == "Edit Properties...") {
|
||||
// good place to put the properties dialog
|
||||
|
||||
editModelID = -1;
|
||||
if (entitySelected) {
|
||||
print(" Edit Properties.... selectedEntityID="+ selectedEntityID);
|
||||
editModelID = selectedEntityID;
|
||||
} else {
|
||||
print(" Edit Properties.... not holding...");
|
||||
}
|
||||
if (editModelID != -1) {
|
||||
print(" Edit Properties.... about to edit properties...");
|
||||
entityPropertyDialogBox.openDialog(editModelID);
|
||||
}
|
||||
|
||||
} else if (menuItem == "Paste Models") {
|
||||
modelImporter.paste();
|
||||
} else if (menuItem == "Export Models") {
|
||||
|
|
Loading…
Reference in a new issue