mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[haxe] 4.3 porting WIP.
This commit is contained in:
parent
f468cd0fd9
commit
d126475b84
@ -208,7 +208,7 @@ class SkeletonSprite extends FlxObject
|
||||
}
|
||||
|
||||
var worldVertices:Array<Float> = _tempVertices;
|
||||
var pose = slot.pose;
|
||||
var pose = slot.applied;
|
||||
var attachment = pose.attachment;
|
||||
if (Std.isOfType(attachment, RegionAttachment)) {
|
||||
var region:RegionAttachment = cast(attachment, RegionAttachment);
|
||||
|
||||
@ -116,7 +116,7 @@ class SkeletonSprite extends DisplayObject implements IAnimatable {
|
||||
}
|
||||
|
||||
var worldVertices:Array<Float> = _tempVertices;
|
||||
var pose = slot.pose;
|
||||
var pose = slot.applied;
|
||||
var attachment = pose.attachment;
|
||||
if (Std.isOfType(attachment, RegionAttachment)) {
|
||||
var region:RegionAttachment = cast(attachment, RegionAttachment);
|
||||
@ -250,7 +250,7 @@ class SkeletonSprite extends DisplayObject implements IAnimatable {
|
||||
var empty:Bool = true;
|
||||
for (i in 0...slots.length) {
|
||||
var slot:Slot = slots[i];
|
||||
var pose = slot.pose;
|
||||
var pose = slot.applied;
|
||||
var attachment = pose.attachment;
|
||||
if (attachment == null)
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user