diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-06-21 12:09:00 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-06-28 09:28:29 -0700 |
commit | 3e4e530523e9ce22ef437af80d1beba83b46afad (patch) | |
tree | bc9ef844255f7f1949c2ee41c30b4de431feaa1c /doc/classes/NodePath.xml | |
parent | 92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (diff) | |
download | redot-engine-3e4e530523e9ce22ef437af80d1beba83b46afad.tar.gz |
NodePath properly updated in the editor in more cases
Fix more cases of node path needing an update when nodes are renamed or
moved in the editor.
Built-in node properties:
Before, node paths were checked only for script export variables. Now
all properties are checked from the node, which includes built-in node
properties.
Allows proper node path updates for nodes like remote transform, physics
joints, etc.
Arrays and dictionaries:
Node paths nested in array and dictionary properties are now also
updated in the editor.
Also update the documentation to be clear about node path update in the
editor and at runtime.
Co-authored-by: latorril <latorril@gmail.com>
Diffstat (limited to 'doc/classes/NodePath.xml')
-rw-r--r-- | doc/classes/NodePath.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml index 817ccd5160..0ba2e73ad4 100644 --- a/doc/classes/NodePath.xml +++ b/doc/classes/NodePath.xml @@ -20,6 +20,7 @@ @"/root/Main" # If your main scene's root node were named "Main". @"/root/MyAutoload" # If you have an autoloaded node or scene. [/codeblock] + [b]Note:[/b] In the editor, [NodePath] properties are automatically updated when moving, renaming or deleting a node in the scene tree, but they are never updated at runtime. </description> <tutorials> <link title="2D Role Playing Game Demo">https://godotengine.org/asset-library/asset/520</link> |