Removed unnecessary editor code for menu

This commit is contained in:
2024-11-04 23:24:32 +01:00
parent bf79f34974
commit 4d4f5ab2c1

View File

@@ -239,16 +239,6 @@ base_editor_update :: () {
editor_ui();
//if editor.show_menu {
// placed_entity := imgui_show_place_entity();
// if placed_entity != null {
// // @Incomplete: At some point we want this to place entities at either a set distance or a distance depending on a raycast in the camera's forward direction so that we don't place things behind other entities
// set_position(*placed_entity.transform, editor.camera.position + editor.camera.forward * 30);
// editor.show_menu = false;
// entity = placed_entity;
// }
//}
camera := *engine.editor.camera;
if engine.editor.focused_widget == null {