Godot: Where is get_root in autocompletion? RC1

Created on 15 Jan 2018  ·  1Comment  ·  Source: godotengine/godot

Godot version:

Godot 3 RC1

OS/device including version:

Manjaro 64bit

Issue description:

Type :

get_tree().

and try to type get_root()

autocompletion does not find get_root function but it exists as a function.
What I mean is that the program will not crash but autocomplition does not have the get_root method.

The problem is (if I understand it right) that with autogenerated bindings to other languages (e.g. Nim) get_root will not register.

Checked with Beta2 and autocompletion works (and Nim).

archived bug editor

Most helpful comment

Sorry for bothering again without reason.
I just found out that root changed to get set property so now to get the root only get_tree().root is needed and .root is in autocompilation.

I am closing this cause it was only a missunderstanding from my part.

>All comments

Sorry for bothering again without reason.
I just found out that root changed to get set property so now to get the root only get_tree().root is needed and .root is in autocompilation.

I am closing this cause it was only a missunderstanding from my part.

Was this page helpful?
0 / 5 - 0 ratings