Fix TextureRegionEditor's snap mode is not initial bug.

This commit is contained in:
sersoong 2017-11-20 09:15:49 +08:00
parent 23e17e6ed2
commit 19d2ba2b08
1 changed files with 1 additions and 0 deletions

View File

@ -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);