mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Fix TextureRegionEditor's snap mode is not initial bug.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user