From 4d4f5ab2c125788112c7db9edb469ebfe46ec505 Mon Sep 17 00:00:00 2001 From: Daniel Bross Date: Mon, 4 Nov 2024 23:24:32 +0100 Subject: [PATCH] Removed unnecessary editor code for menu --- editor/editor_ui.jai | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/editor/editor_ui.jai b/editor/editor_ui.jai index 19630eb..11d3e2f 100644 --- a/editor/editor_ui.jai +++ b/editor/editor_ui.jai @@ -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 {