mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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;
|
||||
}
|
||||
Menu.addMenuItem({
|
||||
menuName: "Edit",
|
||||
menuItemName: "Entity List...",
|
||||
afterItem: "Entities",
|
||||
grouping: "Advanced"
|
||||
});
|
||||
|
||||
Menu.addMenuItem({
|
||||
menuName: "Edit",
|
||||
menuItemName: "Parent Entity to Last",
|
||||
afterItem: "Entity List...",
|
||||
afterItem: "Entities",
|
||||
grouping: "Advanced"
|
||||
});
|
||||
|
||||
|
@ -1297,7 +1291,6 @@ function cleanupModelMenus() {
|
|||
|
||||
Menu.removeMenuItem("Edit", "Parent Entity to Last");
|
||||
Menu.removeMenuItem("Edit", "Unparent Entity");
|
||||
Menu.removeMenuItem("Edit", "Entity List...");
|
||||
Menu.removeMenuItem("Edit", "Allow Selecting of Large Models");
|
||||
Menu.removeMenuItem("Edit", "Allow Selecting of Small Models");
|
||||
Menu.removeMenuItem("Edit", "Allow Selecting of Lights");
|
||||
|
@ -1659,8 +1652,6 @@ function handeMenuEvent(menuItem) {
|
|||
Window.promptTextChanged.connect(onPromptTextChanged);
|
||||
Window.promptAsync("URL of SVO to import", "");
|
||||
}
|
||||
} else if (menuItem === "Entity List...") {
|
||||
entityListTool.toggleVisible();
|
||||
} else if (menuItem === "Select All Entities In Box") {
|
||||
selectAllEtitiesInCurrentSelectionBox(false);
|
||||
} else if (menuItem === "Select All Entities Touching Box") {
|
||||
|
|
Loading…
Reference in a new issue