Skip to content

Commit 89e1d19

Browse files
authored
Merge pull request #65 from Unity-Technologies/remove-unreachable-code
remove unreachable code
2 parents 6b4c8b7 + 4551276 commit 89e1d19

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -440,16 +440,12 @@ private void AssignLayerElementMaterial(FbxMesh fbxMesh, Mesh mesh, int material
440440
break;
441441
case MeshTopology.Lines:
442442
throw new System.NotImplementedException();
443-
break;
444443
case MeshTopology.Points:
445444
throw new System.NotImplementedException();
446-
break;
447445
case MeshTopology.LineStrip:
448446
throw new System.NotImplementedException();
449-
break;
450447
default:
451448
throw new System.NotImplementedException ();
452-
break;
453449
}
454450

455451
// Specify the material index for each polygon.
@@ -549,16 +545,12 @@ meshInfo.Vertices [v].z*UnitScaleFactor
549545
break;
550546
case MeshTopology.Lines:
551547
throw new System.NotImplementedException();
552-
break;
553548
case MeshTopology.Points:
554549
throw new System.NotImplementedException();
555-
break;
556550
case MeshTopology.LineStrip:
557551
throw new System.NotImplementedException();
558-
break;
559552
default:
560553
throw new System.NotImplementedException ();
561-
break;
562554
}
563555

564556
for (int f = 0; f < indices.Length / polySize; f++) {

0 commit comments

Comments
 (0)