Commit 945f7fe4 authored by stonecompass's avatar stonecompass
Browse files

Fixed issue with saving after placing new template.

parent 5c2558ad
No preview for this file type
No preview for this file type
......@@ -2064,9 +2064,10 @@ static Camera get_standard_camera(SceneManager& manager)
scene::reload_scene(manager->loaded_scene);
manager->renderer->api_functions.show_mouse_cursor(false, &render_state);
// Disable wireframes
if(IS_ENTITY_HANDLE_VALID(manager->selected_entity))
scene::set_wireframe_enabled(false, manager->selected_entity, handle);
/*if(IS_ENTITY_HANDLE_VALID(manager->selected_entity))
scene::set_wireframe_enabled(false, manager->selected_entity, handle);*/
// When exiting to running mode we should make sure to notify the game about it, to ensure that all
// editor-specific entities are cleaned up before the game is running again.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment