Skip to content

Commit

Permalink
RGBA textures are renamed correctly when they are split.
Browse files Browse the repository at this point in the history
  • Loading branch information
Venomalia committed Oct 14, 2023
1 parent 3762383 commit efb4099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<IncludeSymbols>False</IncludeSymbols>
<Version>1.7.12.$([System.DateTime]::Now.ToString(`MMdd`))</Version>
<Version>1.7.13.$([System.DateTime]::Now.ToString(`MMdd`))</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>
<FileVersion>$(Version)</FileVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down
2 changes: 1 addition & 1 deletion TextureExtraction tool/Scans/Finalize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected override void Scan(ScanObjekt so)
using Stream fileRG = Save(imageRG, subPathRG, encoder);
LogSplit(subPathRG, "RGBA Split type:RG");
// Save the BA channel image.
string subPathBA = Path.Join(Path.GetDirectoryName(so.SubPath), hashRG.Build() + ".png");
string subPathBA = Path.Join(Path.GetDirectoryName(so.SubPath), hashBA.Build() + ".png");
LogDuplicatIfNeeded(ref subPathBA);
using Stream fileBA = Save(imageBA, subPathBA, encoder);
LogSplit(subPathBA, "RGBA Split type:BA");
Expand Down

0 comments on commit efb4099

Please sign in to comment.