Fix build with draco

This commit is contained in:
Nyall Dawson 2023-09-07 08:20:28 +10:00
parent 35735bb686
commit 0067b4d941
No known key found for this signature in database
GPG Key ID: D853AA00D2F6AFD0

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