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:
commit
f32497929b
1 changed files with 1 additions and 0 deletions
|
@ -777,6 +777,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) {
|
||||||
edited_margin = -1;
|
edited_margin = -1;
|
||||||
drag_index = -1;
|
drag_index = -1;
|
||||||
drag = false;
|
drag = false;
|
||||||
|
snap_mode = SNAP_NONE;
|
||||||
|
|
||||||
VBoxContainer *main_vb = memnew(VBoxContainer);
|
VBoxContainer *main_vb = memnew(VBoxContainer);
|
||||||
add_child(main_vb);
|
add_child(main_vb);
|
||||||
|
|
Loading…
Reference in a new issue