mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 04:15:54 +08:00
Merge pull request #453 from nyalldawson/fix_draco
Fix build with draco
This commit is contained in:
commit
c40c9c223e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user