summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-07-10 08:59:27 +0200
committerGitHub <noreply@github.com>2020-07-10 08:59:27 +0200
commit8894af3908432045fecd2baaa249bdf9518e1557 (patch)
tree5afa4d46f12f83e262a8b903e04165561d025721
parentfb664c61f541e2ff2a2be2f55c2ba1d802d334be (diff)
parent660a780c3b4431fb253d8fb7dcfa388c90ed6b2b (diff)
Merge pull request #40210 from RantingBob/patch-1
Update Resource.xml to explain behavior of duplicate when subresource…
-rw-r--r--doc/classes/Resource.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Resource.xml b/doc/classes/Resource.xml
index 5bc34772c8..0aa40dffb3 100644
--- a/doc/classes/Resource.xml
+++ b/doc/classes/Resource.xml
@@ -23,7 +23,8 @@
<argument index="0" name="subresources" type="bool" default="false">
</argument>
<description>
- Duplicates the resource, returning a new resource. By default, sub-resources are shared between resource copies for efficiency, this can be changed by passing [code]true[/code] to the [code]subresources[/code] argument.
+ Duplicates the resource, returning a new resource. By default, sub-resources are shared between resource copies for efficiency. This can be changed by passing [code]true[/code] to the [code]subresources[/code] argument which will copy the subresources.
+ [b]Note:[/b] If [code]subresources[/code] is [code]true[/code], this method will only perform a shallow copy. Nested resources within subresources will not be duplicated and will still be shared.
</description>
</method>
<method name="get_local_scene" qualifiers="const">