@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.
@@ -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
- }), _readOnlyError("tracks");
214
+ });
217
215
  cloned.tracks = cloned.tracks.filter(function (track) {
218
216
  return !bones.find(function (bone) {
219
217
  return track.name.includes(bone);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "author": "Gamelearn",
4
4
  "license": "unlicense",
5
- "version": "2.12.5",
5
+ "version": "2.12.7",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",