Browse Source

fixed uninitialized tool mode in path 2d editor

Juan Linietsky 9 years ago
parent
commit
be73e2d2f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/editor/plugins/path_2d_editor_plugin.cpp

+ 1 - 0
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