Skip to content

Commit

Permalink
Merge pull request #279 from CesiumGS/update-tools-to-0.3.0
Browse files Browse the repository at this point in the history
Update tools to 0.3.0
  • Loading branch information
lilleyse committed Aug 30, 2023
2 parents 0e4c443 + 79d0875 commit 94fc288
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"3d-tiles-validator": "./build/main"
},
"dependencies": {
"3d-tiles-tools": "^0.2.1",
"3d-tiles-tools": "^0.3.0",
"cesium": "^1.97.0",
"gltf-validator": "^2.0.0-dev.3.9",
"minimatch": "^5.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/validation/metadata/BinaryPropertyTableValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ export class BinaryPropertyTableValidator {
index,
arrayOffsetType
);
return arrayOffset;
return Number(arrayOffset);
}
/**
* Returns the string offset of the given property at the specified
Expand Down Expand Up @@ -1065,6 +1065,6 @@ export class BinaryPropertyTableValidator {
index,
stringOffsetType
);
return stringOffset;
return Number(stringOffset);
}
}

0 comments on commit 94fc288

Please sign in to comment.