aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorJuan Linietsky2016-01-02 15:42:14 -0300
committerJuan Linietsky2016-01-02 15:42:14 -0300
commitbe73e2d2f272d08e68a3eb82346c1ac1dcd99dcd (patch)
tree82b1acbc6fadba5adeb7f0d8eb37f51571e890fa /tools/editor/plugins
parent32a6120a5cdd050d4874021aa80d3d104a4b637b (diff)
downloadgodot-be73e2d2f272d08e68a3eb82346c1ac1dcd99dcd.tar.gz
godot-be73e2d2f272d08e68a3eb82346c1ac1dcd99dcd.tar.zst
godot-be73e2d2f272d08e68a3eb82346c1ac1dcd99dcd.zip
fixed uninitialized tool mode in path 2d editor
Diffstat (limited to 'tools/editor/plugins')
-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 a2cc0ed09..95c74b167 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