Skip to content

Commit

Permalink
Update v3.0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunaretic committed Jul 1, 2024
2 parents 6a5e788 + 05e3c89 commit 8307a60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions FFXIV_TexTools/FFXIV_TexTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<AssemblyTitle>FFXIV_TexTools</AssemblyTitle>
<Product>FFXIV_TexTools</Product>
<Copyright>Copyright © 2024</Copyright>
<AssemblyVersion>3.0.2.1</AssemblyVersion>
<FileVersion>3.0.2.1</FileVersion>
<AssemblyVersion>3.0.2.2</AssemblyVersion>
<FileVersion>3.0.2.2</FileVersion>
<LangVersion>9.0</LangVersion>
<OutputPath>bin\$(Configuration)\</OutputPath>
<UseWPF>true</UseWPF>
Expand Down
2 changes: 1 addition & 1 deletion FFXIV_TexTools/Views/FileControls/ModelFileControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ protected override async Task<bool> INTERNAL_WriteModFile(ModTransaction tx)
{
if (string.IsNullOrEmpty(mtrl)) continue;

if (!IOUtil.IsFFXIVInternalPath(mtrl) || !mtrl.EndsWith(".mtrl"))
if (!mtrl.StartsWith("/") && !IOUtil.IsFFXIVInternalPath(mtrl) || !mtrl.EndsWith(".mtrl"))
{
throw new InvalidDataException("Material path is not a valid FFXIV material path: " + mtrl);
}
Expand Down

0 comments on commit 8307a60

Please sign in to comment.