mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 16:33:30 +00:00
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
This commit is contained in:
parent
74907876d3
commit
97ee05e9b7
53 changed files with 220 additions and 197 deletions
|
@ -1762,7 +1762,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