mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-15 17:27:56 +00:00
Apply any material edits before exported so it keeps the changes
This commit is contained in:
parent
718fe989b9
commit
f1164934d2
5 changed files with 5 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -254,6 +254,11 @@ namespace Bfres.Structs
|
|||
}
|
||||
private void Export()
|
||||
{
|
||||
if (MaterialU != null)
|
||||
BfresWiiU.SetMaterial(this, MaterialU, GetResFileU());
|
||||
else
|
||||
BfresSwitch.SetMaterial(this, Material);
|
||||
|
||||
SaveFileDialog sfd = new SaveFileDialog();
|
||||
sfd.Filter = "Supported Formats|*.bfmat;";
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue