@gamelearn/arcade-components 3.32.4 → 3.32.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -748,16 +748,7 @@ NoticeComponent.defaultProps = {
|
|
|
748
748
|
new Vector3(1, 0, 0);
|
|
749
749
|
new Vector3(0, 1, 0);
|
|
750
750
|
new Vector3(0, 0, 1);
|
|
751
|
-
const bones = [
|
|
752
|
-
"Jaw_M",
|
|
753
|
-
"L_lip_jnt",
|
|
754
|
-
"R_lip_jnt",
|
|
755
|
-
"joint4"
|
|
756
|
-
// 'R_LowerLid_jnt',
|
|
757
|
-
// 'L_LowerLid_jnt',
|
|
758
|
-
// 'L_UpperLid_jnt',
|
|
759
|
-
// 'R_UpperLid_jnt',
|
|
760
|
-
], BASIC_ACTIONS_TYPES_WHITELIST = [
|
|
751
|
+
const bones = ["Jaw_M", "L_lip_jnt", "R_lip_jnt", "joint4"], BASIC_ACTIONS_TYPES_WHITELIST = [
|
|
761
752
|
"61408041e917240012e96b17",
|
|
762
753
|
// Affirmative
|
|
763
754
|
"61407ff1e917240012e96a8a",
|
|
@@ -61429,12 +61420,13 @@ function Animation({ animation: l, loopTimes: e, onAnimationFinish: n, onAnimati
|
|
|
61429
61420
|
t({ uid: s.uid, animation: l == null ? void 0 : l.id, index: p.index }), n();
|
|
61430
61421
|
else {
|
|
61431
61422
|
const _ = p.userData.animator, T = () => {
|
|
61432
|
-
_.getAction(l.url)
|
|
61423
|
+
const x = _.getAction(l.url);
|
|
61424
|
+
x.setLoop(LoopRepeat, 1 / 0), x.reset();
|
|
61433
61425
|
function S() {
|
|
61434
|
-
u.current >= e && (_.mix("idle"), n(), _.removeEventListener("loop", S))
|
|
61426
|
+
u.current += 1, u.current >= e && (_.mix("idle"), n(), _.removeEventListener("loop", S));
|
|
61435
61427
|
}
|
|
61436
61428
|
_.mix(l == null ? void 0 : l.url).then((g) => {
|
|
61437
|
-
g && _.addEventListener("loop", S);
|
|
61429
|
+
g && (u.current = 1, _.addEventListener("loop", S));
|
|
61438
61430
|
}), h(!0);
|
|
61439
61431
|
};
|
|
61440
61432
|
_.getAction(l == null ? void 0 : l.url) ? T() : assetLoader.load(
|