fixed issue with texcoordinate bufferview target

pull/1015/head
Angelo Scandaliato 2016-09-28 18:50:08 -07:00
parent f2e6f2f67f
commit 7dd2e7011d
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ void glTFExporter::ExportMeshes()
if(comp_allow) idx_srcdata_tc.push_back(b->byteLength);// Store index of texture coordinates array.
Ref<Accessor> tc = ExportData(*mAsset, meshId, b, aim->mNumVertices, aim->mTextureCoords[i], AttribType::VEC3, type, ComponentType_FLOAT, true);
Ref<Accessor> tc = ExportData(*mAsset, meshId, b, aim->mNumVertices, aim->mTextureCoords[i], AttribType::VEC3, type, ComponentType_FLOAT, false);
if (tc) p.attributes.texcoord.push_back(tc);
}
}