diff options
| author | jfons <joan.fonssanchez@gmail.com> | 2021-06-09 13:06:38 +0200 |
|---|---|---|
| committer | jfons <joan.fonssanchez@gmail.com> | 2021-06-14 14:05:13 +0200 |
| commit | ee702334a1c7bd19dd8fd7fd57009e393939bab7 (patch) | |
| tree | cf4e0ece2f10a1c0d5f89d6e1d0e532406fefc6e /modules/gdscript/tests | |
| parent | f178e7abd7d0af21d326f2e818bcd07a487b19fe (diff) | |
Rename get_parent_spatial() to get_parent_node3d()
Renames get_parent_spatial() to get_parent_node3d() and changes its
implementation. Before it was not returning a correct pointer if the
node wasn't added to a SceneTree. Now it uses the same implementation as
CanvasItem, which will be correct even for nodes outside a SceneTree.
Diffstat (limited to 'modules/gdscript/tests')
0 files changed, 0 insertions, 0 deletions