You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Remove Editor dependency from SceneTree
This commit is contained in:
@@ -334,6 +334,11 @@ void EditorNode::_notification(int p_what) {
|
||||
OS::get_singleton()->set_low_processor_usage_mode_sleep_usec(int(EDITOR_GET("interface/editor/unfocused_low_processor_mode_sleep_usec")));
|
||||
} break;
|
||||
|
||||
case MainLoop::NOTIFICATION_WM_ABOUT: {
|
||||
|
||||
show_about();
|
||||
} break;
|
||||
|
||||
case MainLoop::NOTIFICATION_WM_QUIT_REQUEST: {
|
||||
|
||||
_menu_option_confirm(FILE_QUIT, false);
|
||||
|
||||
Reference in New Issue
Block a user