Merge pull request #62408 from Razoric480/raz/fix-no-cache

[3.x] Fix nested resources being cached if no-cache argument used
This commit is contained in:
Rémi Verschelde
2022-08-05 23:43:54 +02:00
committed by GitHub
51 changed files with 112 additions and 76 deletions

View File

@@ -46,8 +46,9 @@
<return type="Variant" />
<argument index="0" name="path" type="String" />
<argument index="1" name="original_path" type="String" />
<argument index="2" name="no_subresource_cache" type="bool" />
<description>
Loads a resource when the engine finds this loader to be compatible. If the loaded resource is the result of an import, [code]original_path[/code] will target the source file. Returns a [Resource] object on success, or an [enum Error] constant in case of failure.
Loads a resource when the engine finds this loader to be compatible. If the loaded resource is the result of an import, [code]original_path[/code] will target the source file. If [code]no_subresource_cache[/code] is true, sub-resources should not be cached. Returns a [Resource] object on success, or an [enum Error] constant in case of failure.
</description>
</method>
<method name="rename_dependencies" qualifiers="virtual">