Fix binary marshalling of Objects
This commit is contained in:
parent
2e6f2ed032
commit
c05c334de7
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue