mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[ts] Port of additive blending fix, see #1322.
This commit is contained in:
parent
1a4e311522
commit
8f80ceec7c
@ -1403,7 +1403,7 @@ var spine;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
var timelines = current.animation.timelines;
|
||||
if (i == 0 && (mix == 1 || blend == spine.MixBlend.add)) {
|
||||
if ((i == 0 && mix == 1) || blend == spine.MixBlend.add) {
|
||||
for (var ii = 0; ii < timelineCount; ii++)
|
||||
timelines[ii].apply(skeleton, animationLast, animationTime, events, mix, blend, spine.MixDirection["in"]);
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
2372
spine-ts/build/spine-canvas.d.ts
vendored
2372
spine-ts/build/spine-canvas.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -1403,7 +1403,7 @@ var spine;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
var timelines = current.animation.timelines;
|
||||
if (i == 0 && (mix == 1 || blend == spine.MixBlend.add)) {
|
||||
if ((i == 0 && mix == 1) || blend == spine.MixBlend.add) {
|
||||
for (var ii = 0; ii < timelineCount; ii++)
|
||||
timelines[ii].apply(skeleton, animationLast, animationTime, events, mix, blend, spine.MixDirection["in"]);
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1403,7 +1403,7 @@ var spine;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
var timelines = current.animation.timelines;
|
||||
if (i == 0 && (mix == 1 || blend == spine.MixBlend.add)) {
|
||||
if ((i == 0 && mix == 1) || blend == spine.MixBlend.add) {
|
||||
for (var ii = 0; ii < timelineCount; ii++)
|
||||
timelines[ii].apply(skeleton, animationLast, animationTime, events, mix, blend, spine.MixDirection["in"]);
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1403,7 +1403,7 @@ var spine;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
var timelines = current.animation.timelines;
|
||||
if (i == 0 && (mix == 1 || blend == spine.MixBlend.add)) {
|
||||
if ((i == 0 && mix == 1) || blend == spine.MixBlend.add) {
|
||||
for (var ii = 0; ii < timelineCount; ii++)
|
||||
timelines[ii].apply(skeleton, animationLast, animationTime, events, mix, blend, spine.MixDirection["in"]);
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1403,7 +1403,7 @@ var spine;
|
||||
var animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
var timelineCount = current.animation.timelines.length;
|
||||
var timelines = current.animation.timelines;
|
||||
if (i == 0 && (mix == 1 || blend == spine.MixBlend.add)) {
|
||||
if ((i == 0 && mix == 1) || blend == spine.MixBlend.add) {
|
||||
for (var ii = 0; ii < timelineCount; ii++)
|
||||
timelines[ii].apply(skeleton, animationLast, animationTime, events, mix, blend, spine.MixDirection["in"]);
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -159,7 +159,7 @@ module spine {
|
||||
let animationLast = current.animationLast, animationTime = current.getAnimationTime();
|
||||
let timelineCount = current.animation.timelines.length;
|
||||
let timelines = current.animation.timelines;
|
||||
if (i == 0 && (mix == 1 || blend == MixBlend.add)) {
|
||||
if ((i == 0 && mix == 1) || blend == MixBlend.add) {
|
||||
for (let ii = 0; ii < timelineCount; ii++)
|
||||
timelines[ii].apply(skeleton, animationLast, animationTime, events, mix, blend, MixDirection.in);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user