소스 검색

Set settings directory variable when loading settings fails

This makes export work when you are first running godot for your user.
est31 10 년 전
부모
커밋
1268e65aa5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tools/editor/editor_settings.cpp

+ 1 - 0
tools/editor/editor_settings.cpp

@@ -264,6 +264,7 @@ void EditorSettings::create() {
 
 	singleton = Ref<EditorSettings>( memnew( EditorSettings ) );
 	singleton->config_file_path=config_file_path;
+	singleton->settings_path=config_path+"/"+config_dir;
 	singleton->_load_defaults();
 	singleton->scan_plugins();