From 7dd2e7011da1fba2d6f783dc4c7ff6ef4b79249f Mon Sep 17 00:00:00 2001 From: Angelo Scandaliato Date: Wed, 28 Sep 2016 18:50:08 -0700 Subject: [PATCH] fixed issue with texcoordinate bufferview target --- code/glTFExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/glTFExporter.cpp b/code/glTFExporter.cpp index 6bff38737..83a2e0eee 100644 --- a/code/glTFExporter.cpp +++ b/code/glTFExporter.cpp @@ -397,7 +397,7 @@ void glTFExporter::ExportMeshes() if(comp_allow) idx_srcdata_tc.push_back(b->byteLength);// Store index of texture coordinates array. - Ref tc = ExportData(*mAsset, meshId, b, aim->mNumVertices, aim->mTextureCoords[i], AttribType::VEC3, type, ComponentType_FLOAT, true); + Ref tc = ExportData(*mAsset, meshId, b, aim->mNumVertices, aim->mTextureCoords[i], AttribType::VEC3, type, ComponentType_FLOAT, false); if (tc) p.attributes.texcoord.push_back(tc); } }