godot/modules/gdscript
Ignacio Etcheverry f3c7527225 Fix case where exported properties value is lost
Fixes exported property modified values lost when creating a placeholder script instance with a failed script compilation

- Object set/get will call PlaceHolderScriptInstance's new fallback set/get methods as a last resort. This way, placeholder script instances can keep the values for storage or until the script is compiled successfuly.
- Script::can_instance() will only return true if a real script instance can be created. Otherwise, in the case of placeholder script instances, it will return false.
- Object::set_script(script) is now in charge of requesting the creation of placeholder script instances. It's no longer Script::instance_create(owner)'s duty.
- PlaceHolderScriptInstance has a new method set_build_failed(bool) to determine whether it should call into its script methods or not.
- Fixed a few problems during reloading of C# scripts.
2018-07-29 22:40:12 +02:00
..
doc_classes Add support for tutorial links to makerst.py 2018-06-12 17:40:24 +02:00
editor Add syntax highlighting to type hints 2018-07-20 21:55:17 -03:00
config.py SCons: Pass env to modules can_build method 2018-05-30 19:11:36 +02:00
gdscript.cpp Fix case where exported properties value is lost 2018-07-29 22:40:12 +02:00
gdscript.h Fix case where exported properties value is lost 2018-07-29 22:40:12 +02:00
gdscript_compiler.cpp GDScript: Fix main script detection 2018-07-25 20:50:11 -03:00
gdscript_compiler.h Use type information to enable GDScript introspection 2018-07-20 21:55:17 -03:00
gdscript_editor.cpp Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
gdscript_function.cpp GDScript: Fix type detection on Object typed assign 2018-07-25 20:50:12 -03:00
gdscript_function.h Add typed instructions to GDScript 2018-07-20 21:55:17 -03:00
gdscript_functions.cpp GDScript: Enable built-in function introspection in non-tools 2018-07-25 20:50:12 -03:00
gdscript_functions.h Merge pull request #18966 from chanon/new-debug-print 2018-07-04 23:50:45 +02:00
gdscript_parser.cpp GDScript: Fix parse error in string formatting 2018-07-26 10:52:11 -03:00
gdscript_parser.h Add ability to infer variable type from assigned value 2018-07-20 21:55:18 -03:00
gdscript_tokenizer.cpp Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
gdscript_tokenizer.h Add typing syntax 2018-07-20 21:55:16 -03:00
register_types.cpp Exclude GDScriptSyntaxHighlighter from non-tool builds 2018-04-20 20:45:57 +01:00
register_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub Exclude GDScriptSyntaxHighlighter from non-tool builds 2018-04-20 20:45:57 +01:00