Skip to content

Commit

Permalink
throw instead of console write
Browse files Browse the repository at this point in the history
  • Loading branch information
PassiveModding committed Aug 31, 2024
1 parent 7678e02 commit dfbac72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Meddle/Meddle.Utils/Export/Vertex.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ public static void Apply(ref Vertex vertex, ReadOnlySpan<byte> buffer, VertexEle
vertex.Tangent1 = ReadVector4(buf, (VertexType)element.Type);
break;
default:
Console.WriteLine($"Skipped usage {element.Usage} [{element.Type}]");
break;
throw new Exception($"Unsupported usage {element.Usage} [{element.Type}]");
}
}

Expand Down

0 comments on commit dfbac72

Please sign in to comment.