Added one example entry to newly created MaterialFiles

This commit is contained in:
MattNL
2023-03-04 04:24:25 -05:00
parent f885ac7cf9
commit b3b19fe2ba

View File

@@ -33,7 +33,8 @@ namespace PckStudio.Forms.Utilities
using (var stream = new MemoryStream())
{
var matFile = new MaterialsFile();
MaterialsWriter.Write(stream, matFile);
matFile.entries.Add(new MaterialsFile.MaterialEntry("bat", "entity_alphatest"));
MaterialsWriter.Write(stream, matFile);
file.SetData(stream.ToArray());
}