mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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 worldVertices:Array<Float> = _tempVertices;
|
||||||
var pose = slot.pose;
|
var pose = slot.applied;
|
||||||
var attachment = pose.attachment;
|
var attachment = pose.attachment;
|
||||||
if (Std.isOfType(attachment, RegionAttachment)) {
|
if (Std.isOfType(attachment, RegionAttachment)) {
|
||||||
var region:RegionAttachment = cast(attachment, RegionAttachment);
|
var region:RegionAttachment = cast(attachment, RegionAttachment);
|
||||||
|
|||||||
@ -116,7 +116,7 @@ class SkeletonSprite extends DisplayObject implements IAnimatable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var worldVertices:Array<Float> = _tempVertices;
|
var worldVertices:Array<Float> = _tempVertices;
|
||||||
var pose = slot.pose;
|
var pose = slot.applied;
|
||||||
var attachment = pose.attachment;
|
var attachment = pose.attachment;
|
||||||
if (Std.isOfType(attachment, RegionAttachment)) {
|
if (Std.isOfType(attachment, RegionAttachment)) {
|
||||||
var region:RegionAttachment = cast(attachment, RegionAttachment);
|
var region:RegionAttachment = cast(attachment, RegionAttachment);
|
||||||
@ -250,7 +250,7 @@ class SkeletonSprite extends DisplayObject implements IAnimatable {
|
|||||||
var empty:Bool = true;
|
var empty:Bool = true;
|
||||||
for (i in 0...slots.length) {
|
for (i in 0...slots.length) {
|
||||||
var slot:Slot = slots[i];
|
var slot:Slot = slots[i];
|
||||||
var pose = slot.pose;
|
var pose = slot.applied;
|
||||||
var attachment = pose.attachment;
|
var attachment = pose.attachment;
|
||||||
if (attachment == null)
|
if (attachment == null)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user