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 Improve GDScript Editor and Improve latency 2021-09-21 13:56:47 +02:00
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 Unregister GDScriptFunctionState class 2020-11-26 21:39:54 -03:00
gdscript.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
gdscript.h Merge pull request #51456 from SaracenOne/super_init_fix 2021-09-10 10:40:32 -03:00
gdscript_analyzer.cpp GDScript: Use path cache when checking preloaded scripts 2021-10-04 20:48:39 -03:00
gdscript_analyzer.h Check for GDScript member and class naming conflicts in a variety of conditions. 2021-09-02 07:16:06 +01:00
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 Avoid crash after a parsing error in GDScript 2021-09-11 11:35:25 +02:00
gdscript_cache.h Avoid crash after a parsing error in GDScript 2021-09-11 11:35:25 +02:00
gdscript_codegen.h Merge pull request #52323 from vnen/gdscript-singleton-interdependence-fix 2021-09-13 21:10:34 +02:00
gdscript_compiler.cpp GDScript: Fix member assignment with operation 2021-10-04 14:09:54 -03:00
gdscript_compiler.h GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_disassembler.cpp GDScript: Fix loading of interdependent autoloads 2021-09-01 16:06:30 -03:00
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 Merge pull request #52323 from vnen/gdscript-singleton-interdependence-fix 2021-09-13 21:10:34 +02:00
gdscript_lambda_callable.cpp GDScript: Implement lambdas compilation and runtime 2021-04-28 11:09:38 -03:00
gdscript_lambda_callable.h Rename Reference to RefCounted 2021-06-11 18:48:42 +02:00
gdscript_parser.cpp GDScript Check for null list in for loop 2021-10-02 13:53:56 -04:00
gdscript_parser.h Merge pull request #52906 from vnen/gdscript-show-error-on-yield 2021-09-21 20:36:39 +02:00
gdscript_tokenizer.cpp Reorganise text editor settings 2021-08-16 17:18:49 +01:00
gdscript_tokenizer.h GDScript: Add lambda syntax parsing 2021-04-28 10:56:16 -03:00
gdscript_utility_functions.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
gdscript_utility_functions.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gdscript_vm.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
gdscript_warning.cpp Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
gdscript_warning.h Fix error on parsing statement-less GDScript files, 2021-09-11 20:38:15 +02:00
register_types.cpp Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
register_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub