A few more LM3 fixes

This commit is contained in:
KillzXGaming 2019-11-10 09:55:26 -05:00
parent ee82fb1218
commit 48af63444c
2 changed files with 2 additions and 4 deletions

View file

@ -412,7 +412,7 @@ namespace FirstPlugin.LuigisMansion3
chunkEntry.DataFile = File052Data;
using (var boneReader = new FileReader(chunkEntry.FileData, true))
{
currentModel.Skeleton = new STSkeleton();
/* currentModel.Skeleton = new STSkeleton();
DrawableContainer.Drawables.Add(currentModel.Skeleton);
uint numBones = chunk.ChunkSize / 0x40;
@ -454,7 +454,7 @@ namespace FirstPlugin.LuigisMansion3
}
currentModel.Skeleton.reset();
currentModel.Skeleton.update();
currentModel.Skeleton.update();*/
}
}
break;

View file

@ -474,8 +474,6 @@ namespace FirstPlugin.LuigisMansion3
reader.Position = 0;
return;
var meshSize = reader.BaseStream.Length / model.Meshes.Count;
for (int i = 0; i < model.Meshes.Count; i++)
{