summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-28 22:12:09 +0100
committerGitHub <noreply@github.com>2018-02-28 22:12:09 +0100
commit77e8cb2655e877c2e2da7bc8f3b87b184fef5fb3 (patch)
tree19e65ebbcc65823ab297a1e43f4adfb9c88dda44 /editor/plugins
parentc6dff58f491c30ffc2a81a8d69da86ff8105053f (diff)
parentd702d7b335c0c9305e75131770c0ea739b70d813 (diff)
Merge pull request #17117 from hpvb/fix-use-uninitialized-redux
Fix various valgrind reported uninitialized variable uses
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/texture_region_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp
index 215d2ca551..6cb4ca1e86 100644
--- a/editor/plugins/texture_region_editor_plugin.cpp
+++ b/editor/plugins/texture_region_editor_plugin.cpp
@@ -783,6 +783,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) {
snap_step = Vector2(10, 10);
snap_separation = Vector2(0, 0);
+ snap_mode = SNAP_NONE;
edited_margin = -1;
drag_index = -1;
drag = false;