Merge pull request #13067 from sersoong/2.1-test3

[2.1] - Fix TextureRegionEditor's snap mode is not initial bug.
This commit is contained in:
Rémi Verschelde 2017-11-20 08:02:27 +01:00 committed by GitHub
commit f32497929b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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