You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #79404 from raulsntos/dotnet/lines-open-in-external-editor
C#: Fix line in OpenInExternalEditor
This commit is contained in:
@@ -289,7 +289,7 @@ void EditorInterface::edit_node(Node *p_node) {
|
||||
}
|
||||
|
||||
void EditorInterface::edit_script(const Ref<Script> &p_script, int p_line, int p_col, bool p_grab_focus) {
|
||||
ScriptEditor::get_singleton()->edit(p_script, p_line, p_col, p_grab_focus);
|
||||
ScriptEditor::get_singleton()->edit(p_script, p_line - 1, p_col - 1, p_grab_focus);
|
||||
}
|
||||
|
||||
void EditorInterface::open_scene_from_path(const String &scene_path) {
|
||||
|
||||
Reference in New Issue
Block a user