summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authormarxin <mliska@suse.cz>2019-02-14 20:47:35 +0100
committermarxin <mliska@suse.cz>2019-02-14 20:47:35 +0100
commit7ae160f6618848648be34ab2c1ac8768cd6c894e (patch)
tree0b2e4ffe17521d0970dccd0058a5212aab8250e5 /editor/plugins
parent89eb79aef1aac645358664a8245afe35b30da130 (diff)
Fix 2 more UBSAN issues (#25217).
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp
index 873bdd9e7f..b5d59dae99 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/editor/plugins/canvas_item_editor_plugin.cpp
@@ -4559,6 +4559,7 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
snap_grid = true;
snap_guides = true;
snap_rotation = false;
+ snap_relative = false;
snap_pixel = false;
skeleton_show_bones = true;