mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
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:
commit
c1b7865ae9
53 changed files with 220 additions and 197 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue