Skip to content

Commit 4551276

Browse files
committed
remove unreachable code
1 parent 6b4c8b7 commit 4551276

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)