1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Simplify some UID conversions

This commit is contained in:
kobewi
2024-11-14 23:22:59 +01:00
parent 673f396677
commit 5be53c36c0
2 changed files with 2 additions and 2 deletions

View File

@@ -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;