More AAMP v2 save fixes. Should be mostly complete now.
This commit is contained in:
parent
a8957c0a0d
commit
f28295363d
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1025,7 +1025,9 @@ namespace Bfres.Structs
|
||||
{
|
||||
if (IsWiiU)
|
||||
{
|
||||
Console.WriteLine("Saving Buffer");
|
||||
BfresWiiU.SaveVertexBuffer(this);
|
||||
Console.WriteLine("Reading Buffer");
|
||||
BfresWiiU.ReadShapesVertices(this, ShapeU, VertexBufferU, GetParentModel());
|
||||
return;
|
||||
}
|
||||
|
@ -967,10 +967,14 @@ namespace FirstPlugin
|
||||
VertexBuffer buffer = new VertexBuffer();
|
||||
buffer.Attributes = new ResDict<VertexAttrib>();
|
||||
|
||||
Console.WriteLine("Updating Buffer");
|
||||
|
||||
VertexBufferHelper helper = new VertexBufferHelper(buffer, Syroot.BinaryData.ByteOrder.BigEndian);
|
||||
List<VertexBufferHelperAttrib> atrib = new List<VertexBufferHelperAttrib>();
|
||||
fshp.UpdateVertices();
|
||||
|
||||
Console.WriteLine("Creating Buffer");
|
||||
|
||||
foreach (FSHP.VertexAttribute att in fshp.vertexAttributes)
|
||||
{
|
||||
if (att.Name == "_p0")
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user