瀏覽代碼

fix invalid setup for texture enum.

Kim Kulling 5 年之前
父節點
當前提交
75204e20bd
共有 1 個文件被更改,包括 0 次插入1 次删除
  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;