mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 20:24:17 +01:00
Use named enum values for vertex decl mismatch error
This commit is contained in:
parent
0220257efa
commit
c1cdb28bb5
1 changed files with 4 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using Lumina.Data.Parsing;
|
||||
using Penumbra.GameData.Files;
|
||||
|
||||
namespace Penumbra.Import.Models.Import;
|
||||
|
||||
|
|
@ -51,7 +52,7 @@ public static class Utility
|
|||
|
||||
private static string FormatVertexDeclaration(MdlStructs.VertexDeclarationStruct vertexDeclaration)
|
||||
=> string.Join(", ",
|
||||
vertexDeclaration.VertexElements.Select(element => $"{element.Usage} ({element.Type}@{element.Stream}:{element.Offset})"));
|
||||
vertexDeclaration.VertexElements.Select(element => $"{(MdlFile.VertexUsage)element.Usage} ({(MdlFile.VertexType)element.Type}@{element.Stream}:{element.Offset})"));
|
||||
|
||||
private static bool VertexDeclarationMismatch(MdlStructs.VertexDeclarationStruct a, MdlStructs.VertexDeclarationStruct b)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue