You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Support uid:// in more places
This commit is contained in:
@@ -2617,7 +2617,7 @@ Error Image::load(const String &p_path) {
|
||||
WARN_PRINT(vformat("Loaded resource as image file, this will not work on export: '%s'. Instead, import the image file as an Image resource and load it normally as a resource.", path));
|
||||
}
|
||||
#endif
|
||||
return ImageLoader::load_image(ResourceUID::ensure_path(p_path), this);
|
||||
return ImageLoader::load_image(path, this);
|
||||
}
|
||||
|
||||
Ref<Image> Image::load_from_file(const String &p_path) {
|
||||
|
||||
Reference in New Issue
Block a user