summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-02 15:42:14 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-02 15:42:14 -0300
commitbe73e2d2f272d08e68a3eb82346c1ac1dcd99dcd (patch)
tree82b1acbc6fadba5adeb7f0d8eb37f51571e890fa
parent32a6120a5cdd050d4874021aa80d3d104a4b637b (diff)
fixed uninitialized tool mode in path 2d editor
-rw-r--r--tools/editor/plugins/path_2d_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/path_2d_editor_plugin.cpp b/tools/editor/plugins/path_2d_editor_plugin.cpp
index a2cc0ed09c..95c74b1676 100644
--- a/tools/editor/plugins/path_2d_editor_plugin.cpp
+++ b/tools/editor/plugins/path_2d_editor_plugin.cpp
@@ -614,6 +614,7 @@ Path2DEditor::Path2DEditor(EditorNode *p_editor) {
editor=p_editor;
undo_redo = editor->get_undo_redo();
+ mode=MODE_EDIT;
action=ACTION_NONE;
#if 0