Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registered properties changes from GDNative are not picked up by editor #25812

Closed
mnn opened this issue Feb 12, 2019 · 1 comment
Closed

Registered properties changes from GDNative are not picked up by editor #25812

mnn opened this issue Feb 12, 2019 · 1 comment

Comments

@mnn
Copy link

mnn commented Feb 12, 2019

Godot version:
3.1.beta3.mono.official

OS/device including version:
Linux 64b (Kubuntu 16.04)

Issue description:
I changed registered property name (same issue with adding a new registered property), compiled C++ library, returned to editor, tried deselecting&reselecting node with script (also tried reattaching script, running scene [works for C#], closing and reopening scene), but changes to registered properties are not picked up in the inspector.

I made sure it was compiled - when running a game, new behaviour from C++ code was present, but the inspector was showing an old list of props.

I was expecting to not have to close whole project in order to refresh a list of registered properties in the editor. I didn't know if the refresh should be working, but seems so according to comments in https://www.reddit.com/r/godot/comments/ap4nmv/how_to_automaticallyeasily_refresh_list_of_script/.

Steps to reproduce:
Prepare working GDNative with C++ environment, compile C++ library, check properties in editor (first time the refresh seems to work), change registered properties (rename/add) in C++ lib, compile C++ code, check in the editor the list of registered properties (labelled as "Script Variables" in the editor, deselect&reselect of a node with the attached GDNative script should suffice for changes to be shown in the inspector).


Edit: Fixed many English issues (sorry, not my native language), tried to make more clear what I am doing, some formatting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants