-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Reverting exported values broken on tool scripts #66791
Comments
Verified by @KoBeWi and me. We could reproduce. |
Looks like this is happening because the default value is being stored as an int
If you change this to a float it works as expected:
|
This fixes the |
The |
Consolidating in #62363. |
Godot version
4.0.beta2.official.f8745f2f7
System information
Void Linux
Issue description
On tool scripts for resources, the revert button for exported variables doesn't appear, and on tool scripts for nodes in a scene, it only appears after saving and reloading that inspector (and then it doesn't go away even when you revert the value)
Steps to reproduce
Minimal reproduction project
tool_export_test.zip
The text was updated successfully, but these errors were encountered: