1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Fix external resource cache regression

This commit is contained in:
PouleyKetchoupp
2021-06-16 16:07:04 -07:00
parent 465ab36ddf
commit c957035320
2 changed files with 2 additions and 0 deletions

View File

@@ -422,6 +422,7 @@ Error ResourceInteractiveLoaderText::poll() {
}
ExtResource er;
er.cache = res;
er.path = path;
er.type = type;
ext_resources[index] = er;

View File

@@ -48,6 +48,7 @@ class ResourceInteractiveLoaderText : public ResourceInteractiveLoader {
VariantParser::StreamFile stream;
struct ExtResource {
RES cache;
String path;
String type;
};