[Path] fix Path writing the wrong record type
This commit is contained in:
parent
12debf0b02
commit
0503ceb725
1 changed files with 1 additions and 1 deletions
|
|
@ -1960,7 +1960,7 @@ class Path(Record, GeometryMixin):
|
||||||
dd = self.datatype is not None
|
dd = self.datatype is not None
|
||||||
ll = self.layer is not None
|
ll = self.layer is not None
|
||||||
|
|
||||||
size = write_uint(stream, 21)
|
size = write_uint(stream, 22)
|
||||||
size += write_bool_byte(stream, (ee, ww, pp, xx, yy, rr, dd, ll))
|
size += write_bool_byte(stream, (ee, ww, pp, xx, yy, rr, dd, ll))
|
||||||
if ll:
|
if ll:
|
||||||
size += write_uint(stream, self.layer) # type: ignore
|
size += write_uint(stream, self.layer) # type: ignore
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue