Merge pull request #11947 from eska014/fix-obj-marshalling
Fix exporting projects with custom input event actions
This commit is contained in:
commit
e5fcf0ee76
@ -1140,8 +1140,9 @@ Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len, bo
|
|||||||
if (buf) {
|
if (buf) {
|
||||||
encode_uint32(0, buf);
|
encode_uint32(0, buf);
|
||||||
buf += 4;
|
buf += 4;
|
||||||
r_len += 4;
|
|
||||||
}
|
}
|
||||||
|
r_len += 4;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
_encode_string(obj->get_class(), buf, r_len);
|
_encode_string(obj->get_class(), buf, r_len);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user