Fix kcl generation from not saving

This commit is contained in:
KillzXGaming 2019-03-23 17:19:32 -04:00
parent c4903cdb77
commit cda5329779
12 changed files with 6 additions and 2 deletions

Binary file not shown.

View file

@ -577,6 +577,8 @@ namespace FirstPlugin
ushort SmoothIndex = 0;
foreach (STBone genericBone in fskl.bones)
{
STConsole.WriteLine($"Applying bone " + genericBone.Text);
genericBone.BillboardIndex = ushort.MaxValue;
BfresBone bn = new BfresBone(fskl);

View file

@ -289,6 +289,8 @@ namespace FirstPlugin
public MarioKart.MK7.KCL kcl = null;
public void Read(byte[] file_data)
{
data = file_data;
try
{
Endianness = Syroot.BinaryData.ByteOrder.LittleEndian;

View file

@ -34,9 +34,9 @@ namespace FirstPlugin.Forms
public BfresEditor()
{
InitializeComponent();
InitializeComponent();
STConsole stConsole = new STConsole();
STConsole stConsole = STConsole.Instance;
stConsole.BorderStyle = BorderStyle.None;
stConsole.Dock = DockStyle.Fill;
tabPage4.Controls.Add(stConsole);