Skip to content

Commit

Permalink
Update Mdl resolution + ui cleanup
Browse files Browse the repository at this point in the history
- fixes mdl deform resolution when file name on disk doesn't contain character code
- includes both resolved path and disk path in logs and ui
- cleanup UI to use tables instead of columns
  • Loading branch information
PassiveModding committed Jul 28, 2024
1 parent 895fd71 commit 8c3a493
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 318 deletions.
6 changes: 3 additions & 3 deletions Meddle/Meddle.Plugin/Models/Groups.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public record CharacterGroup(
AttachedModelGroup[] AttachedModelGroups);

public record AttachedModelGroup(Attach Attach, MdlFileGroup[] MdlGroups, Skeleton.Skeleton Skeleton);
public record MdlFileGroup(string Path, MdlFile MdlFile, MtrlFileGroup[] MtrlFiles, Model.ShapeAttributeGroup? ShapeAttributeGroup);
public record MtrlFileGroup(string Path, MtrlFile MtrlFile, string ShpkPath, ShpkFile ShpkFile, TexResourceGroup[] TexFiles);
public record TexResourceGroup(string MtrlPath, string ResourcePath, TextureResource Resource);
public record MdlFileGroup(string CharacterPath, string Path, MdlFile MdlFile, MtrlFileGroup[] MtrlFiles, Model.ShapeAttributeGroup? ShapeAttributeGroup);
public record MtrlFileGroup(string MdlPath, string Path, MtrlFile MtrlFile, string ShpkPath, ShpkFile ShpkFile, TexResourceGroup[] TexFiles);
public record TexResourceGroup(string MtrlPath, string Path, TextureResource Resource);
public record SklbFileGroup(string Path, SklbFile File);
public record Resource(string MdlPath, Vector3 Position, Quaternion Rotation, Vector3 Scale);
Loading

0 comments on commit 8c3a493

Please sign in to comment.