Merge pull request #453 from nyalldawson/fix_draco

Fix build with draco
This commit is contained in:
Syoyo Fujita 2023-09-07 21:35:55 +09:00 committed by GitHub
commit c40c9c223e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4909,7 +4909,7 @@ static bool ParseDracoExtension(Primitive *primitive, Model *model,
// create new bufferView for indices
if (primitive->indices >= 0) {
if (strictness == ParseStrictness::PERMISSIVE) {
if (strictness == ParseStrictness::Permissive) {
const draco::PointIndex::ValueType numPoint = mesh->num_points();
// handle the situation where the stored component type does not match the
// required type for the actual number of stored points