Merge pull request #11947 from eska014/fix-obj-marshalling

Fix exporting projects with custom input event actions
This commit is contained in:
Rémi Verschelde 2017-10-09 00:04:28 +02:00 committed by GitHub
commit e5fcf0ee76

View File

@ -1140,8 +1140,9 @@ Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len, bo
if (buf) {
encode_uint32(0, buf);
buf += 4;
r_len += 4;
}
r_len += 4;
} else {
_encode_string(obj->get_class(), buf, r_len);