diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp index 8afabc356c..157cbf0d01 100644 --- a/editor/plugins/texture_region_editor_plugin.cpp +++ b/editor/plugins/texture_region_editor_plugin.cpp @@ -777,6 +777,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) { edited_margin = -1; drag_index = -1; drag = false; + snap_mode = SNAP_NONE; VBoxContainer *main_vb = memnew(VBoxContainer); add_child(main_vb);