summaryrefslogtreecommitdiff
path: root/doc/classes/PackedScene.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-01-07 11:46:26 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-01-07 12:15:01 +0100
commita15620c83e7ee0f77d2582f0664431a7893c4283 (patch)
tree8c570c31142c735734e4bf90a5805708138b6f23 /doc/classes/PackedScene.xml
parent698728f1c2726563db11d8e3b07a6126d69ee953 (diff)
doc: Fix wrong references found by Sphinx and new makerst.py
Diffstat (limited to 'doc/classes/PackedScene.xml')
-rw-r--r--doc/classes/PackedScene.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/PackedScene.xml b/doc/classes/PackedScene.xml
index 7dea004b90..432ca4b23f 100644
--- a/doc/classes/PackedScene.xml
+++ b/doc/classes/PackedScene.xml
@@ -18,7 +18,7 @@
node.add_child(rigid)
# change owner of rigid, but not of collision
- rigid.set_owner(node)
+ rigid.owner = node
var scene = PackedScene.new()
# only node and rigid are now packed
@@ -61,7 +61,7 @@
<argument index="0" name="path" type="Node">
</argument>
<description>
- Pack will ignore any sub-nodes not owned by given node. See [method Node.set_owner].
+ Pack will ignore any sub-nodes not owned by given node. See [member Node.owner].
</description>
</method>
</methods>