diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-12-19 16:36:49 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-12-19 16:51:32 +0100 |
commit | 98dc07f25fbbea480c99d34472872943b1902ba8 (patch) | |
tree | 0c14fe531d2f91b4680e384c78845983a7872701 /editor/editor_export.cpp | |
parent | 981c6aa102ba50d314a023a96d7affb7081334e5 (diff) |
Mono/C#: Fix Variant -> MonoString* when type is Variant:NIL
`Variant::operator String()` returns "Null" if the type is `Variant:NIL`.
We must consider that and return a null `MonoString*` instead when marshalling.
This was also causing a "Null" error to be displayed when exporting a game
because null string members would be set to "Null" during hot-reload.
Diffstat (limited to 'editor/editor_export.cpp')
0 files changed, 0 insertions, 0 deletions