mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Move editor paths into the EditorPaths class
This commit is contained in:
parent
5352cf8e2f
commit
ac870ab1c8
19 changed files with 122 additions and 116 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue