mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-05 18:26:52 +08:00
[unity] Fixed Skin created by GetRepackedSkin not copying constraints list. See #1474.
This commit is contained in:
parent
5d34140af5
commit
1a85c69aa8
@ -325,6 +325,7 @@ namespace Spine.Unity.AttachmentTools {
|
|||||||
var newSkin = new Skin(newName);
|
var newSkin = new Skin(newName);
|
||||||
|
|
||||||
newSkin.bones.AddRange(o.bones);
|
newSkin.bones.AddRange(o.bones);
|
||||||
|
newSkin.constraints.AddRange(o.constraints);
|
||||||
|
|
||||||
// Use these to detect and use shared regions.
|
// Use these to detect and use shared regions.
|
||||||
var existingRegions = new Dictionary<AtlasRegion, int>();
|
var existingRegions = new Dictionary<AtlasRegion, int>();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user