mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Fixed skinned meshes with FFD.
This commit is contained in:
parent
03291be259
commit
df971f7c70
@ -462,11 +462,8 @@ namespace Spine {
|
||||
int vertexCount;
|
||||
if (attachment is MeshAttachment)
|
||||
vertexCount = ((MeshAttachment)attachment).vertices.Length;
|
||||
// BOZO
|
||||
else
|
||||
vertexCount = 0;
|
||||
// else
|
||||
// vertexCount = ((SkinnedMeshAttachment)attachment).Weights.Length / 3 * 2;
|
||||
vertexCount = ((SkinnedMeshAttachment)attachment).Weights.Length / 3 * 2;
|
||||
|
||||
if (!valueMap.ContainsKey("vertices")) {
|
||||
if (attachment is MeshAttachment)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user