virtualx-engine/modules/gdscript
Pedro J. Estébanez 86ece881e5 Remove useless check in GDScript
The removed check was adding a protection for the case where a `Reference` has not yet got its reference count initialized and a script is called on it. That would cause the object to be released after the call. The removed code was constructing the `Variant` via the `Object` constructor so it didn't deal with the reference count and so the release was prevented.

However, `Variant` no longer works that way so that check was useless. Now it's just illegal to run GDScript on a Reference whose reference count has not been initialized.
2020-12-01 12:28:52 +01:00
..
doc_classes Unregister GDScriptFunctionState class 2020-11-26 21:39:54 -03:00
editor Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
icons Optimize SVG using svgcleaner --multipass 2020-10-25 10:02:37 +01:00
language_server Remove empty lines around braces with the formatting script 2020-11-16 23:38:11 -05:00
tests Remove empty lines around braces with the formatting script 2020-11-16 23:38:11 -05:00
config.py Unregister GDScriptFunctionState class 2020-11-26 21:39:54 -03:00
gdscript.cpp Implement proper error print, Fixes a crash when no error messages are generated by the analyser. 2020-11-28 13:47:52 +01:00
gdscript.h Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
gdscript_analyzer.cpp GDScript: Don't construct ref values in compiler 2020-11-30 09:42:22 -03:00
gdscript_analyzer.h Merge pull request #43895 from vnen/gdscript-operators-fix 2020-11-26 21:19:31 +01:00
gdscript_byte_codegen.cpp GDScript: Improve handling of operators 2020-11-26 14:41:55 -03:00
gdscript_byte_codegen.h GDScript: Improve handling of operators 2020-11-26 14:41:55 -03:00
gdscript_cache.cpp Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
gdscript_cache.h Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
gdscript_codegen.h GDScript: Improve handling of operators 2020-11-26 14:41:55 -03:00
gdscript_compiler.cpp GDScript: Improve handling of operators 2020-11-26 14:41:55 -03:00
gdscript_compiler.h Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
gdscript_disassembler.cpp fixes crash for OPCODE_CAST_TO_NATIVE opcode in gdscript disassemlber 2020-11-25 16:26:32 -06:00
gdscript_editor.cpp Fix completion for built-in load function 2020-11-10 12:00:08 +01:00
gdscript_function.cpp GDScript: Gather instructions arguments beforehand 2020-11-21 13:24:49 -03:00
gdscript_function.h GDScript: Add faster instruction for validated constructor 2020-11-21 13:30:17 -03:00
gdscript_functions.cpp Minor clamp and float fixes 2020-11-10 14:30:07 -05:00
gdscript_functions.h Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
gdscript_parser.cpp Merge pull request #43500 from AndreaCatania/gds_fixes 2020-11-27 16:37:45 +01:00
gdscript_parser.h Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
gdscript_tokenizer.cpp Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
gdscript_tokenizer.h Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
gdscript_vm.cpp Remove useless check in GDScript 2020-12-01 12:28:52 +01:00
gdscript_warning.cpp Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
gdscript_warning.h Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
register_types.cpp Unregister GDScriptFunctionState class 2020-11-26 21:39:54 -03:00
register_types.h Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
SCsub Register GDScript test tools as test commands to run via command-line 2020-09-02 01:43:26 +03:00