virtualx-engine/modules/gdscript
PouleyKetchoupp 9d2c012f23
Fix base script not initialized properly in some cases
Storing script references to pointer only in result.script_type could
lead to losing the last reference, causing further conversions from
Script* to Ref<Script> to fail.

Now result.script_type_ref is always set first, and then cleared in the
specific case of the script being the owner, to avoid cyclic reference
issues.

(cherry picked from commit 87d73faa66)
2020-12-09 11:22:05 +01:00
..
doc_classes Several edits to the GDScript docs 2020-12-09 11:22:03 +01:00
editor Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
icons Add support for creating editor icons per module 2019-06-28 23:42:26 +03:00
language_server Include gdscript warning name in LSP message. 2020-07-15 12:15:16 +02:00
config.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gdscript.cpp GDScript: Remove self static reference and create one on calls 2020-10-29 21:04:57 +01:00
gdscript.h GDScript: Remove self static reference and create one on calls 2020-10-29 21:04:57 +01:00
gdscript_compiler.cpp Fix base script not initialized properly in some cases 2020-12-09 11:22:05 +01:00
gdscript_compiler.h Prevent cyclic reference between script and its members 2020-09-09 13:51:53 +02:00
gdscript_editor.cpp [3.2] Shows ColorRect in Color constants autocompletion 2020-10-28 12:39:41 +03:00
gdscript_function.cpp Fixes the misleading error message for call_recursive method for TreeItems 2020-11-11 15:12:02 +01:00
gdscript_function.h GDScript: Remove self static reference and create one on calls 2020-10-29 21:04:57 +01:00
gdscript_functions.cpp Minor clamp and float fixes 2020-11-11 15:30:57 +01:00
gdscript_functions.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gdscript_parser.cpp Fix misleading editor message when redeclaring variables 2020-10-22 18:32:34 -03:00
gdscript_parser.h Auto completion enhanced for extends and class level identifier 2020-08-17 12:54:01 +05:30
gdscript_tokenizer.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gdscript_tokenizer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_types.h Adding missing include guards to header files identified by LGTM. 2020-03-25 11:38:54 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00