1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Move editor paths into the EditorPaths class

This commit is contained in:
Aaron Franke
2022-07-28 19:36:26 -05:00
parent 5352cf8e2f
commit ac870ab1c8
19 changed files with 122 additions and 116 deletions

View File

@@ -51,7 +51,7 @@
#endif
#ifdef TOOLS_ENABLED
#include "editor/editor_settings.h"
#include "editor/editor_paths.h"
#endif
///////////////////////////
@@ -848,7 +848,7 @@ Error GDScript::reload(bool p_keep_state) {
// Loading a template, don't parse.
#ifdef TOOLS_ENABLED
if (EditorSettings::get_singleton() && basedir.begins_with(EditorSettings::get_singleton()->get_project_script_templates_dir())) {
if (EditorPaths::get_singleton() && basedir.begins_with(EditorPaths::get_singleton()->get_project_script_templates_dir())) {
return OK;
}
#endif