mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 05:17:24 +02:00
MS3128: Remove vestigal Edit menu item
This commit is contained in:
parent
6ac43c34c2
commit
fd4530e671
1 changed files with 1 additions and 10 deletions
|
@ -1165,17 +1165,11 @@ function setupModelMenus() {
|
||||||
});
|
});
|
||||||
modelMenuAddedDelete = true;
|
modelMenuAddedDelete = true;
|
||||||
}
|
}
|
||||||
Menu.addMenuItem({
|
|
||||||
menuName: "Edit",
|
|
||||||
menuItemName: "Entity List...",
|
|
||||||
afterItem: "Entities",
|
|
||||||
grouping: "Advanced"
|
|
||||||
});
|
|
||||||
|
|
||||||
Menu.addMenuItem({
|
Menu.addMenuItem({
|
||||||
menuName: "Edit",
|
menuName: "Edit",
|
||||||
menuItemName: "Parent Entity to Last",
|
menuItemName: "Parent Entity to Last",
|
||||||
afterItem: "Entity List...",
|
afterItem: "Entities",
|
||||||
grouping: "Advanced"
|
grouping: "Advanced"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1297,7 +1291,6 @@ function cleanupModelMenus() {
|
||||||
|
|
||||||
Menu.removeMenuItem("Edit", "Parent Entity to Last");
|
Menu.removeMenuItem("Edit", "Parent Entity to Last");
|
||||||
Menu.removeMenuItem("Edit", "Unparent Entity");
|
Menu.removeMenuItem("Edit", "Unparent Entity");
|
||||||
Menu.removeMenuItem("Edit", "Entity List...");
|
|
||||||
Menu.removeMenuItem("Edit", "Allow Selecting of Large Models");
|
Menu.removeMenuItem("Edit", "Allow Selecting of Large Models");
|
||||||
Menu.removeMenuItem("Edit", "Allow Selecting of Small Models");
|
Menu.removeMenuItem("Edit", "Allow Selecting of Small Models");
|
||||||
Menu.removeMenuItem("Edit", "Allow Selecting of Lights");
|
Menu.removeMenuItem("Edit", "Allow Selecting of Lights");
|
||||||
|
@ -1659,8 +1652,6 @@ function handeMenuEvent(menuItem) {
|
||||||
Window.promptTextChanged.connect(onPromptTextChanged);
|
Window.promptTextChanged.connect(onPromptTextChanged);
|
||||||
Window.promptAsync("URL of SVO to import", "");
|
Window.promptAsync("URL of SVO to import", "");
|
||||||
}
|
}
|
||||||
} else if (menuItem === "Entity List...") {
|
|
||||||
entityListTool.toggleVisible();
|
|
||||||
} else if (menuItem === "Select All Entities In Box") {
|
} else if (menuItem === "Select All Entities In Box") {
|
||||||
selectAllEtitiesInCurrentSelectionBox(false);
|
selectAllEtitiesInCurrentSelectionBox(false);
|
||||||
} else if (menuItem === "Select All Entities Touching Box") {
|
} else if (menuItem === "Select All Entities Touching Box") {
|
||||||
|
|
Loading…
Reference in a new issue