You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd be interested in seeing this implemented as well. It's very frustrating considering that a lot of features can only be done using _get_property_list().
Godot version:
Godot 3.1 beta 1
I wanted to have some dynamic properties added with
_get_property_list()
to show in the code completion popup so I wrote this script as an autoload:It doesn't work so I went to the source code and I think I found why. The code completion calls this function: https://github.com/godotengine/godot/blob/master/modules/gdscript/gdscript.cpp#L239-L264 which doesn't call the script's
_get_property_list()
function while the functionget_property_list()
call this one: https://github.com/godotengine/godot/blob/master/modules/gdscript/gdscript.cpp#L1059-L1128 which does call it and returns the property list with the ones added with_get_property_list()
.Would it be possible to call
GDScriptIntance::get_property_list()
fromGDScript::get_script_property_list()
or would that hurt performance somehow?The text was updated successfully, but these errors were encountered: