1
0
mirror of synced 2024-12-03 03:27:23 +01:00

Fix null reference error when mesh is selected for switch

This commit is contained in:
KillzXGaming 2019-04-14 15:19:54 -04:00
parent 8bfa2293a8
commit 96c68b793c
5 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -90,7 +90,7 @@ namespace FirstPlugin
}
else
{
vertexBufferSkinCountUD.Maximum = (decimal)fshp.VertexBufferU.VertexSkinCount;
vertexBufferSkinCountUD.Maximum = (decimal)fshp.VertexBuffer.VertexSkinCount;
vertexBufferSkinCountUD.Value = (decimal)fshp.VertexBuffer.VertexSkinCount;
vertexBufferList1.LoadVertexBuffers(fshp, fshp.VertexBuffer);
}