Fix kcl generation from not saving
This commit is contained in:
parent
c4903cdb77
commit
cda5329779
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -577,6 +577,8 @@ namespace FirstPlugin
|
|||||||
ushort SmoothIndex = 0;
|
ushort SmoothIndex = 0;
|
||||||
foreach (STBone genericBone in fskl.bones)
|
foreach (STBone genericBone in fskl.bones)
|
||||||
{
|
{
|
||||||
|
STConsole.WriteLine($"Applying bone " + genericBone.Text);
|
||||||
|
|
||||||
genericBone.BillboardIndex = ushort.MaxValue;
|
genericBone.BillboardIndex = ushort.MaxValue;
|
||||||
|
|
||||||
BfresBone bn = new BfresBone(fskl);
|
BfresBone bn = new BfresBone(fskl);
|
||||||
|
@ -289,6 +289,8 @@ namespace FirstPlugin
|
|||||||
public MarioKart.MK7.KCL kcl = null;
|
public MarioKart.MK7.KCL kcl = null;
|
||||||
public void Read(byte[] file_data)
|
public void Read(byte[] file_data)
|
||||||
{
|
{
|
||||||
|
data = file_data;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Endianness = Syroot.BinaryData.ByteOrder.LittleEndian;
|
Endianness = Syroot.BinaryData.ByteOrder.LittleEndian;
|
||||||
|
@ -36,7 +36,7 @@ namespace FirstPlugin.Forms
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
STConsole stConsole = new STConsole();
|
STConsole stConsole = STConsole.Instance;
|
||||||
stConsole.BorderStyle = BorderStyle.None;
|
stConsole.BorderStyle = BorderStyle.None;
|
||||||
stConsole.Dock = DockStyle.Fill;
|
stConsole.Dock = DockStyle.Fill;
|
||||||
tabPage4.Controls.Add(stConsole);
|
tabPage4.Controls.Add(stConsole);
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user