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