mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
Merge pull request #15572 from poke1024/fix15366
Fixes snap button getting out of sync (issue 15366)
This commit is contained in:
commit
6f75866aef
@ -3915,7 +3915,7 @@ void SpatialEditor::set_state(const Dictionary &p_state) {
|
||||
|
||||
if (d.has("snap_enabled")) {
|
||||
snap_enabled = d["snap_enabled"];
|
||||
tool_option_button[TOOL_OPT_LOCAL_COORDS]->set_pressed(d["snap_enabled"]);
|
||||
tool_option_button[TOOL_OPT_USE_SNAP]->set_pressed(d["snap_enabled"]);
|
||||
}
|
||||
|
||||
if (d.has("translate_snap"))
|
||||
|
Loading…
Reference in New Issue
Block a user