Merge pull request #49668 from nekomatata/fix-external-resource-cache-regression-3.x

[3.x] Fix external resource cache regression
This commit is contained in:
Rémi Verschelde 2021-06-17 01:24:40 +02:00 committed by GitHub
commit 6b98f0b615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
};