mirror of
https://github.com/godotengine/godot.git
synced 2025-10-21 00:43:46 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
parent
28a4eec9a7
commit
e48c5daddf
113 changed files with 528 additions and 528 deletions
|
@ -2513,7 +2513,7 @@ static void _find_call_arguments(GDScriptParser::CompletionContext &p_context, c
|
|||
|
||||
static void _find_call_arguments(GDScriptParser::CompletionContext &p_context, const GDScriptParser::Node *p_call, int p_argidx, HashMap<String, ScriptLanguage::CodeCompletionOption> &r_result, bool &r_forced, String &r_arghint) {
|
||||
if (p_call->type == GDScriptParser::Node::PRELOAD) {
|
||||
if (p_argidx == 0 && bool(EditorSettings::get_singleton()->get("text_editor/completion/complete_file_paths"))) {
|
||||
if (p_argidx == 0 && bool(EDITOR_GET("text_editor/completion/complete_file_paths"))) {
|
||||
_get_directory_contents(EditorFileSystem::get_singleton()->get_filesystem(), r_result);
|
||||
}
|
||||
|
||||
|
@ -2820,7 +2820,7 @@ static void _find_call_arguments(GDScriptParser::CompletionContext &p_context, c
|
|||
r_forced = true;
|
||||
} break;
|
||||
case GDScriptParser::COMPLETION_RESOURCE_PATH: {
|
||||
if (EditorSettings::get_singleton()->get("text_editor/completion/complete_file_paths")) {
|
||||
if (EDITOR_GET("text_editor/completion/complete_file_paths")) {
|
||||
_get_directory_contents(EditorFileSystem::get_singleton()->get_filesystem(), options);
|
||||
r_forced = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue