-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Godot never saves the terrain resource after it was modified by a not-undoable action #101
Comments
Looks like calling But if it did, it would overlap with the original intent of that property, which is to update the inspector when the property list changes, i.e if you |
Worked around in 2d2a8d7 To close this issue:
|
This no longer applies to using the generator, which is now fully undoable. But it persists in other areas where undo isn't implemented:
|
After investigating #100, I basically found that if I use the resize tool, generator or importer, and then save the scene right after that, it won't save the terrain data. i.e the scene saving process does not call the plugin's resource saver. It won't even show a star (*) next to the scene tab, supposed to show it was modified.
It looks like it will only save it if you perform an undoable action to it, like painting height or textures.
I already emit the
changed
signal onHTerrainData
each time changes are done to terrain maps, but this appears to have no particular effect.I wonder what I'm missing here, or if it's a Godot bug/flaw?
The text was updated successfully, but these errors were encountered: