소스 검색

fixed uninitialized tool mode in path 2d editor

Juan Linietsky 9 년 전
부모
커밋
be73e2d2f2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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