mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[as3] Renames applyFFD in MeshAttachment to applyDeform. Fixes bug in AnimationState#applyMixingFrom, local events may be null. Closes #801
This commit is contained in:
parent
31b5011acf
commit
f5422f1950
Binary file not shown.
@ -219,7 +219,7 @@ public class AnimationState {
|
||||
}
|
||||
|
||||
if (entry.mixDuration > 0) queueEvents(from, animationTime);
|
||||
events.length = 0;
|
||||
this.events.length = 0;
|
||||
from.nextAnimationLast = animationTime;
|
||||
from.nextTrackLast = from.trackTime;
|
||||
|
||||
|
||||
@ -83,7 +83,7 @@ public dynamic class MeshAttachment extends VertexAttachment {
|
||||
}
|
||||
}
|
||||
|
||||
public function applyFFD (sourceAttachment:Attachment) : Boolean {
|
||||
override public function applyDeform (sourceAttachment:VertexAttachment) : Boolean {
|
||||
return this == sourceAttachment || (inheritDeform && _parentMesh == sourceAttachment);
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
@ -42,7 +42,7 @@ public class Main extends Sprite {
|
||||
var example:Class;
|
||||
example = SpineboyExample;
|
||||
// example = GoblinsExample;
|
||||
// example = RaptorExample;
|
||||
example = RaptorExample;
|
||||
// example = TankExample;
|
||||
// example = VineExample;
|
||||
// example = StretchymanExample;
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user