-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Typed arrays exported from tool scripts cannot be edited #76642
Comments
Reverting the commit from #76378 resolves this issue. |
No idea why this happens. The text sub-property is re-created for some reason, but only in tool script. |
This seems to be fixed on the latest version. I tested both on the commit referenced by OP and on (8c729f0). While the issue did appear in the first one, it is no longer present on the latest build. |
Try restarting the editor and checking again, because you seem to have some bug (the |
You're right, after restarting the editor the issue does still appear on master |
Fixes to changes from godotengine#76114. This PR remove the hack with pointer and replace it with a proper handling from EditorPropertyNodePath of both NodePath and Node. Also needed to revise a bit the saving and loading of scene to handle properly the change. Fixes godotengine#74050. Fixes godotengine#74141. Fixes godotengine#75981. Fixes godotengine#76642. Revert "Fix typed array export... again" This reverts commit da8d673. Co-Authored-By: Tomek <[email protected]>
Godot version
9f12e7b
System information
arch linux
Issue description
Attempting to edit from the editor a typed array exported from a tool script fails, any value is immediately reset, setters are never called.
Steps to reproduce
Create a script such as follows and try to add and then change items of the array in the inspector.
Minimal reproduction project
n/a
The text was updated successfully, but these errors were encountered: