feat: updated engine

This commit is contained in:
Sara Gerretsen 2026-07-10 17:04:34 +02:00
parent cbe99774ff
commit f4cf6b3999
6607 changed files with 910135 additions and 430025 deletions

View file

@ -32,6 +32,8 @@
#include "core/os/time.h"
#include "core/version.h"
#include "editor/gui/editor_toaster.h"
#include "servers/display/display_server.h"
String _get_version_string(EditorVersionButton::VersionFormat p_format) {
String main;
@ -79,6 +81,10 @@ void EditorVersionButton::_notification(int p_what) {
void EditorVersionButton::pressed() {
DisplayServer::get_singleton()->clipboard_set(_get_version_string(FORMAT_WITH_BUILD));
EditorToaster *toaster = EditorToaster::get_singleton();
if (toaster) {
toaster->popup_str(TTR("Copied Godot editor version."));
}
}
EditorVersionButton::EditorVersionButton(VersionFormat p_format) {