godot/modules/gdscript
jlahman 6661ceadcc Fixes export PackedScene "reset to default" throwing errors
When exporting variables from a gdscript, default values of uninitialized variables would never be set. This caused the default value to be Variant::NIL, and when a user tried to reset the variable through the editor, an error would be thrown because too few arguments would be counted(end of argument list for calls are detected by NIL values).

Fixed by simply setting default value to an empty variant of the proper type in gdscript parser.
2019-01-15 22:20:36 -05:00
..
doc_classes doc: Use HTTPS for docs.godotengine.org and point to latest branch 2018-11-05 08:46:27 +01:00
editor Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
config.py SCons: Pass env to modules can_build method 2018-05-30 19:11:36 +02:00
gdscript_compiler.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_compiler.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_editor.cpp Fix code completion on nodes in current scene 2019-01-05 23:17:02 +01:00
gdscript_function.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_function.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_functions.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_functions.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_parser.cpp Fixes export PackedScene "reset to default" throwing errors 2019-01-15 22:20:36 -05:00
gdscript_parser.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_tokenizer.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_tokenizer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript.cpp Merge pull request #24877 from neikeq/issue-24280 2019-01-10 18:02:57 +01:00
gdscript.h Merge pull request #24877 from neikeq/issue-24280 2019-01-10 18:02:57 +01:00
register_types.cpp Merge pull request #24883 from akien-mga/resourceformat-unregister 2019-01-10 14:25:09 +01:00
register_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00