diff options
| author | Fabio Alessandrelli | 2016-10-06 20:24:32 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-09 17:40:19 +0200 |
| commit | e51cd3d454758b15126181013745e45488052ec3 (patch) | |
| tree | 32508005490199307bd3e206c4c20284a3eae1dc /core/variant_parser.cpp | |
| parent | a7d6894a9ff44c77865e947058e8fd903041e065 (diff) | |
| download | godot-e51cd3d454758b15126181013745e45488052ec3.tar.gz godot-e51cd3d454758b15126181013745e45488052ec3.tar.zst godot-e51cd3d454758b15126181013745e45488052ec3.zip | |
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 ee7df2c89ab0608c84f8c9390e1ed888dc1f805d)
Diffstat (limited to 'core/variant_parser.cpp')
0 files changed, 0 insertions, 0 deletions
