virtualx-engine/modules/gdscript
Fabio Alessandrelli e51cd3d454 Throw an error when exporting a resource class
"export var tex = Texture"
will now throw an error to avoid crashing the editor:
"Exported constant not a type or resource"

Fixes #6719 . Closes #6729

(cherry picked from commit ee7df2c89a)
2016-10-09 17:40:19 +02:00
..
config.py
gd_compiler.cpp
gd_compiler.h
gd_editor.cpp Added constants from types in code completion, somehow this was never added. 2016-09-18 23:19:04 +02:00
gd_function.cpp Fix #5891 by not expecting the script instance to be a GDInstance 2016-08-08 18:14:44 +02:00
gd_function.h
gd_functions.cpp Add warning when (pre)loading paths with leading / (#4280 - #3106) 2016-10-09 17:34:23 +02:00
gd_functions.h
gd_parser.cpp Throw an error when exporting a resource class 2016-10-09 17:40:19 +02:00
gd_parser.h
gd_script.cpp
gd_script.h
gd_tokenizer.cpp
gd_tokenizer.h
register_types.cpp
register_types.h
SCsub