diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-15 10:42:46 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-15 10:42:46 -0600 |
commit | 773c8e9a934479705d7218b984e4c378651e928b (patch) | |
tree | e8a84915b3704db4d3f10e3ccc1933bb8d665597 /editor/plugins | |
parent | e9ce3932b395ced7a84da7adf4fffa6b4b9493e4 (diff) | |
parent | 5be53c36c044869e90084864d8ee1e961295b263 (diff) | |
download | redot-engine-773c8e9a934479705d7218b984e4c378651e928b.tar.gz |
Merge pull request #99253 from KoBeWi/tldr
Simplify some UID conversions
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index b45b30b52e..fc8b8aa49f 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -951,7 +951,7 @@ void ScriptTextEditor::_lookup_symbol(const String &p_symbol, int p_row, int p_c } else if (p_symbol.is_resource_file() || p_symbol.begins_with("uid://")) { String symbol = p_symbol; if (symbol.begins_with("uid://")) { - symbol = ResourceUID::get_singleton()->get_id_path(ResourceUID::get_singleton()->text_to_id(symbol)); + symbol = ResourceUID::uid_to_path(symbol); } List<String> scene_extensions; |