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:
commit
6b98f0b615
|
@ -422,6 +422,7 @@ Error ResourceInteractiveLoaderText::poll() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ExtResource er;
|
ExtResource er;
|
||||||
|
er.cache = res;
|
||||||
er.path = path;
|
er.path = path;
|
||||||
er.type = type;
|
er.type = type;
|
||||||
ext_resources[index] = er;
|
ext_resources[index] = er;
|
||||||
|
|
|
@ -48,6 +48,7 @@ class ResourceInteractiveLoaderText : public ResourceInteractiveLoader {
|
||||||
VariantParser::StreamFile stream;
|
VariantParser::StreamFile stream;
|
||||||
|
|
||||||
struct ExtResource {
|
struct ExtResource {
|
||||||
|
RES cache;
|
||||||
String path;
|
String path;
|
||||||
String type;
|
String type;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue