mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[csharp][unity] Fixed formatting of previous commit 3250e74 "Port sequence attachment." See #1956.
This commit is contained in:
parent
3250e74e26
commit
df3ec19252
@ -183,8 +183,7 @@ namespace Spine.Unity.Editor {
|
||||
requiredPaths.Add(sequence.GetPath(attachment.Key, index));
|
||||
else
|
||||
requiredPaths.Add(attachment.Key);
|
||||
}
|
||||
else
|
||||
} else
|
||||
requiredPaths.Add(attachment.Key);
|
||||
}
|
||||
}
|
||||
|
||||
@ -68,7 +68,7 @@ namespace Spine.Unity.AttachmentTools {
|
||||
float scale = 1f / sprite.pixelsPerUnit;
|
||||
if (useOriginalRegionScale) {
|
||||
var regionAttachment = o as RegionAttachment;
|
||||
if (regionAttachment != null )
|
||||
if (regionAttachment != null)
|
||||
scale = regionAttachment.Width / regionAttachment.Region.OriginalWidth;
|
||||
}
|
||||
return o.GetRemappedClone(atlasRegion, cloneMeshAsLinked, useOriginalRegionSize, scale);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user