Removed unnecessary editor code for menu
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user