mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[unity] Fixed one more occurrance where a default skin was assumed to exist (which is no longer the case). Related to ae4790b. See #1453.
This commit is contained in:
parent
bf052f9a4e
commit
a487d6d0d6
@ -58,7 +58,7 @@ namespace Spine.Unity.AttachmentTools {
|
||||
var defaultSkin = skeleton.data.DefaultSkin;
|
||||
var activeSkin = skeleton.skin;
|
||||
|
||||
if (includeDefaultSkin && defaultSkin != null)
|
||||
if (includeDefaultSkin)
|
||||
defaultSkin.CopyTo(newSkin, true, cloneAttachments, cloneMeshesAsLinked);
|
||||
|
||||
if (activeSkin != null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user