mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Refactor editor paths validation in EditorPaths and EditorSettings
- EditorSettings: Ensure that `create()` makes a valid singleton. Fixes #49179, fixes #49450. - EditorPaths: Cleanup code, properly set `paths_valid`. - EditorPaths: Move more paths validation (check, mkdir) from EditorSettings for a better separation of concerns. - EditorPaths: Move EditorFileSystem creation of `.godot/imported` next to other paths.
This commit is contained in:
parent
16027e7cf4
commit
1074017f04
8 changed files with 142 additions and 164 deletions
|
|
@ -47,7 +47,6 @@ class EditorSettings : public Resource {
|
|||
_THREAD_SAFE_CLASS_
|
||||
|
||||
public:
|
||||
inline static const String PROJECT_EDITOR_SETTINGS_PATH = "res://.godot/editor";
|
||||
struct Plugin {
|
||||
EditorPlugin *instance = nullptr;
|
||||
String path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue