[haxe] 4.3 porting WIP.

This commit is contained in:
Davide Tantillo 2025-06-20 11:58:22 +02:00
parent f468cd0fd9
commit d126475b84
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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;