mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[unity] Fix bug in CloneVertexAttachment (#885)
This commit is contained in:
parent
e86c93fced
commit
65304384d6
@ -807,7 +807,7 @@ namespace Spine.Unity.Modules.AttachmentTools {
|
||||
static void CloneVertexAttachment (VertexAttachment src, VertexAttachment dest) {
|
||||
dest.worldVerticesLength = src.worldVerticesLength;
|
||||
if (src.bones != null)
|
||||
dest.bones = src.vertices.Clone() as int[];
|
||||
dest.bones = src.bones.Clone() as int[];
|
||||
|
||||
if (src.vertices != null)
|
||||
dest.vertices = src.vertices.Clone() as float[];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user