Skip to content

Commit

Permalink
fix(3dtiles): use correct batch table constructor for pnts tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jailln authored and mgermerie committed Dec 15, 2022
1 parent 55e7016 commit e1dbd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser/PntsParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default {
// parse batch table
const sizeBegin = byteOffset + pntsHeader.FTJSONLength + pntsHeader.FTBinaryLength;
const BTBuffer = buffer.slice(sizeBegin, pntsHeader.BTJSONLength + sizeBegin);
batchTable = new C3DTBatchTable(BTBuffer, pntsHeader.BTBinaryLength, FTJSON.BATCH_LENGTH, registeredExtensions);
batchTable = new C3DTBatchTable(BTBuffer, pntsHeader.BTJSONLength, pntsHeader.BTBinaryLength, FTJSON.BATCH_LENGTH, registeredExtensions);
}

const pnts = { point, batchTable };
Expand Down

0 comments on commit e1dbd63

Please sign in to comment.