fix invalid setup for texture enum.

pull/2764/head
Kim Kulling 2019-11-16 19:22:37 +01:00
parent 17257cd2ae
commit 75204e20bd
1 changed files with 0 additions and 1 deletions

View File

@ -201,7 +201,6 @@ inline void SetMaterialTextureProperty(std::vector<int> &embeddedTexIdxs, Asset
}
mat->AddProperty(&uri, AI_MATKEY_TEXTURE(texType, texSlot));
mat->AddProperty(&prop.texCoord, 1, _AI_MATKEY_GLTF_TEXTURE_TEXCOORD_BASE, texType, texSlot);
if (prop.textureTransformSupported) {
aiUVTransform transform;