Browse Source

fix invalid setup for texture enum.

Kim Kulling 5 years ago
parent
commit
75204e20bd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      code/glTF2/glTF2Importer.cpp

+ 0 - 1
code/glTF2/glTF2Importer.cpp

@@ -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;