virtualx-engine/modules/gdscript
George Marques 7725ebf3d2
GDScript: Use path cache when checking preloaded scripts
The path itself might not always be set in some cases, especially when
the script is just created and is already in the resource cache. Using
get_path() in this case gets the correct resource path.

This also adds a null check for safety in case the path is incorrect or
missing, to avoid a crash in the engine.
2021-10-04 20:48:39 -03:00
..
doc_classes Add an example on iterating an array backwards 2021-09-30 20:29:57 +02:00
editor
icons
language_server Fix empty line hover; fix open non-res:// script 2021-10-01 11:26:26 -04:00
tests GDScript: Fix member assignment with operation 2021-10-04 14:09:54 -03:00
config.py
gdscript.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
gdscript.h
gdscript_analyzer.cpp GDScript: Use path cache when checking preloaded scripts 2021-10-04 20:48:39 -03:00
gdscript_analyzer.h
gdscript_byte_codegen.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
gdscript_byte_codegen.h Use range iterators for Map 2021-09-30 15:09:12 -06:00
gdscript_cache.cpp
gdscript_cache.h
gdscript_codegen.h
gdscript_compiler.cpp GDScript: Fix member assignment with operation 2021-10-04 14:09:54 -03:00
gdscript_compiler.h
gdscript_disassembler.cpp
gdscript_editor.cpp GDScript completion: Handle quote style ad-hoc to remove editor dependency 2021-10-04 16:16:05 +02:00
gdscript_function.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
gdscript_function.h
gdscript_lambda_callable.cpp
gdscript_lambda_callable.h
gdscript_parser.cpp GDScript Check for null list in for loop 2021-10-02 13:53:56 -04:00
gdscript_parser.h
gdscript_tokenizer.cpp
gdscript_tokenizer.h
gdscript_utility_functions.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
gdscript_utility_functions.h
gdscript_vm.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
gdscript_warning.cpp
gdscript_warning.h
register_types.cpp
register_types.h
SCsub