@gamelearn/arcade-components 2.12.5 → 2.12.7
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.
- package/dist/helpers/index.js +2 -4
- package/package.json +1 -1
package/dist/helpers/index.js
CHANGED
|
@@ -23,8 +23,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
23
23
|
|
|
24
24
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
25
25
|
|
|
26
|
-
function _readOnlyError(name) { throw new TypeError("\"" + name + "\" is read-only"); }
|
|
27
|
-
|
|
28
26
|
var xAxis = new _three.Vector3(1, 0, 0);
|
|
29
27
|
exports.xAxis = xAxis;
|
|
30
28
|
var yAxis = new _three.Vector3(0, 1, 0);
|
|
@@ -209,11 +207,11 @@ var executeTalkingAnimation = function executeTalkingAnimation(target, talkingUR
|
|
|
209
207
|
if (talkingClip) {
|
|
210
208
|
var _cloned$tracks;
|
|
211
209
|
|
|
212
|
-
talkingClip.tracks.filter(function (track) {
|
|
210
|
+
tracks = talkingClip.tracks.filter(function (track) {
|
|
213
211
|
return bones.find(function (bone) {
|
|
214
212
|
return track.name.includes(bone);
|
|
215
213
|
});
|
|
216
|
-
})
|
|
214
|
+
});
|
|
217
215
|
cloned.tracks = cloned.tracks.filter(function (track) {
|
|
218
216
|
return !bones.find(function (bone) {
|
|
219
217
|
return track.name.includes(bone);
|