From 1268e65aa5a804a249c9da5d0e32e4b2c90d1f0c Mon Sep 17 00:00:00 2001 From: est31 Date: Wed, 29 Apr 2015 01:36:46 +0200 Subject: Set settings directory variable when loading settings fails This makes export work when you are first running godot for your user. --- tools/editor/editor_settings.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp index 9a4505efed..f49d3b496d 100644 --- a/tools/editor/editor_settings.cpp +++ b/tools/editor/editor_settings.cpp @@ -264,6 +264,7 @@ void EditorSettings::create() { singleton = Ref( memnew( EditorSettings ) ); singleton->config_file_path=config_file_path; + singleton->settings_path=config_path+"/"+config_dir; singleton->_load_defaults(); singleton->scan_plugins(); -- cgit v1.2.3