Browse Source

Supported when prefs file already existed, and didn't have defaultPath.

Ross Hadden 9 years ago
parent
commit
45a6ec61cd
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Script/AtomicEditor/editor/Preferences.ts

+ 5 - 0
Script/AtomicEditor/editor/Preferences.ts

@@ -458,6 +458,11 @@ class PreferencesFormat {
             updatedMissingDefaults = true;
         }
 
+        if (!prefs.editorFeatures.defaultPath) {
+            prefs.editorFeatures.defaultPath = this.editorFeatures.defaultPath;
+            updatedMissingDefaults = true;
+        }
+
         return updatedMissingDefaults;
     }