Open breakmt opened 5 years ago
The generic solution would be a state_changed
signal in EditorPlugin class, which should be emitted by each editor when there's relevant change in its state and connecting it to EditorNode's _set_scene_metadata
. This should be rather easy, but also rather complex, so not sure if it's worth it and if it's really a bug or rather an enhancement.
The 'bug' actually extends to opening scenes in the same project. If you change a scene file then snap resets to default of 8.
Godot version: 3.1 stable
OS/device including version: Windows 7 x64
Steps to reproduce: Example:
Result: Those settings are saved only when you save the project.
Expected: Settings should be saved to file right after change were made, as it is when you change IDE layout or Editor settings.
Note: I guess it's relevant for every settings in "Godot/projects/%project_name%/Main.tscn-editstate-bcb0d2eb5949c52b6a65bfe9de3e985b.cfg" file, like: snap, view, tileset, texture region, 3D