mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
drose fixed optional field number packing
This commit is contained in:
parent
0bbea17f5b
commit
23746b76cf
@ -864,6 +864,8 @@ ai_format_generate(PyObject *distobj, int do_id,
|
||||
return Datagram();
|
||||
}
|
||||
|
||||
packer.raw_pack_uint16(field->get_number());
|
||||
|
||||
packer.begin_pack(field);
|
||||
if (!pack_required_field(packer, distobj, field)) {
|
||||
return Datagram();
|
||||
|
Loading…
x
Reference in New Issue
Block a user