Merge pull request #103557 from aaronfranke/godot-version-defines

Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
This commit is contained in:
Thaddeus Crews 2025-03-13 08:57:42 -05:00
commit c1b7865ae9
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
53 changed files with 220 additions and 197 deletions

View file

@ -1784,7 +1784,7 @@ void ScriptEditorDebugger::_item_menu_id_pressed(int p_option) {
// Construct a GitHub repository URL and open it in the user's default web browser.
// If the commit hash is available, use it for greater accuracy. Otherwise fall back to tagged release.
String git_ref = String(VERSION_HASH).is_empty() ? String(VERSION_NUMBER) + "-stable" : String(VERSION_HASH);
String git_ref = String(GODOT_VERSION_HASH).is_empty() ? String(GODOT_VERSION_NUMBER) + "-stable" : String(GODOT_VERSION_HASH);
OS::get_singleton()->shell_open(vformat("https://github.com/godotengine/godot/blob/%s/%s#L%d",
git_ref, file, line_number));
} break;