A few more adjustments for batching
This commit is contained in:
parent
a18463db24
commit
6fbc1f81cf
Binary file not shown.
@ -169,6 +169,9 @@ namespace FirstPlugin
|
||||
|
||||
public void Unload()
|
||||
{
|
||||
foreach (var file in Files)
|
||||
file.FileData = null;
|
||||
|
||||
Nodes.Clear();
|
||||
}
|
||||
|
||||
|
@ -144,7 +144,7 @@ namespace FirstPlugin
|
||||
SearchBinary(archiveFile, Folder, Extension);
|
||||
}
|
||||
}
|
||||
/* if (FileFormat is BNTX)
|
||||
if (FileFormat is BNTX)
|
||||
{
|
||||
foreach (var texture in ((BNTX)FileFormat).Textures.Values)
|
||||
texture.Export(Path.Combine(Folder, $"{FileFormat.FileName}_{texture.Text}{Extension}"));
|
||||
@ -170,7 +170,7 @@ namespace FirstPlugin
|
||||
|
||||
bntx.Unload();
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
FileFormat.Unload();
|
||||
GC.Collect();
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user