Fix null reference error when mesh is selected for switch
This commit is contained in:
parent
8bfa2293a8
commit
96c68b793c
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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);
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user