From 8ab9459d6a49afb1ead6d8d024c06e7f15ec0907 Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Fri, 2 Feb 2018 06:58:47 -0800 Subject: [PATCH] Don't override encoder's best guess. --- src/Raw2Gltf.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Raw2Gltf.cpp b/src/Raw2Gltf.cpp index 44f5a91..832740a 100644 --- a/src/Raw2Gltf.cpp +++ b/src/Raw2Gltf.cpp @@ -1097,7 +1097,6 @@ ModelData *Raw2Gltf( encoder.SetAttributeQuantization(draco::GeometryAttribute::NORMAL, 10); encoder.SetAttributeQuantization(draco::GeometryAttribute::COLOR, 8); encoder.SetAttributeQuantization(draco::GeometryAttribute::GENERIC, 8); - encoder.SetEncodingMethod(draco::MeshEncoderMethod::MESH_EDGEBREAKER_ENCODING); draco::EncoderBuffer dracoBuffer; draco::Status status = encoder.EncodeMeshToBuffer(*primitive->dracoMesh, &dracoBuffer);