diff options
author | poke1024 <poke1024@gmx.de> | 2018-01-10 21:22:49 +0100 |
---|---|---|
committer | poke1024 <poke1024@gmx.de> | 2018-01-11 06:52:10 +0100 |
commit | b352b0b88c820b5d05d3265767fef11a4894111c (patch) | |
tree | 9c24413fe46d349385a87e38cde76e7ab8048ca5 /editor/plugins/spatial_editor_plugin.cpp | |
parent | 554e95747c07afa893a2c4c0445370dda57aa7d0 (diff) |
Fixes snap button getting out of sync (issue 15366)
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 535ce79b30..b677017371 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -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")) |