File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
com.unity.formats.fbx/Tests/FbxTests Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -871,9 +871,14 @@ public void TestBlendShapeExport(string fbxPath)
871
871
importer . optimizeMesh = false ;
872
872
importer . meshCompression = ModelImporterMeshCompression . Off ;
873
873
874
+ #if UNITY_2018_4_OR_NEWER
875
+ importer . importNormals = ModelImporterNormals . Import ;
876
+ importer . importTangents = ModelImporterTangents . CalculateMikk ;
877
+ #else
874
878
// In 2018.3, the vertices still do not match unless no normals
875
879
// are imported.
876
880
importer . importNormals = ModelImporterNormals . None ;
881
+ #endif
877
882
878
883
// If either blendshape normals are imported or weldVertices is turned off (or both),
879
884
// the vertex count between the original and exported meshes does not match.
You can’t perform that action at this time.
0 commit comments