mirror of
https://github.com/pgpointcloud/pointcloud.git
synced 2025-12-08 20:36:04 +00:00
Revert "Avoid useless call to pc_bytes_serialized_size"
This reverts commit 69ed4d3c36d685b2b79778d52cebe2014f68b69e. The call was not useless, see #44
This commit is contained in:
parent
69ed4d3c36
commit
4aaa8ca0d7
@ -824,6 +824,7 @@ pc_patch_dimensional_deserialize(const SERIALIZED_PATCH *serpatch, const PCSCHEM
|
||||
PCDIMENSION *dim = schema->dims[i];
|
||||
pc_bytes_deserialize(buf, dim, pcb, true /*readonly*/, false /*flipendian*/);
|
||||
pcb->npoints = npoints;
|
||||
buf += pc_bytes_serialized_size(pcb);
|
||||
}
|
||||
|
||||
return (PCPATCH*)patch;
|
||||
@ -993,4 +994,4 @@ pc_patch_to_geometry_wkb_envelope(const SERIALIZED_PATCH *pa, const PCSCHEMA *sc
|
||||
|
||||
if ( wkbsize ) *wkbsize = size;
|
||||
return wkb;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user