@needle-tools/three 0.146.2 → 0.146.3

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.
@@ -4248,8 +4248,9 @@ class GLTFParser {
4248
4248
  const pendingOutputAccessors = [];
4249
4249
  const pendingSamplers = [];
4250
4250
  const pendingTargets = [];
4251
-
4252
- for ( let i = 0, il = animationDef.channels.length; i < il; i ++ ) {
4251
+ let i = 0;
4252
+ let il = animationDef.channels.length;
4253
+ for ( i = 0, il = animationDef.channels.length; i < il; i ++ ) {
4253
4254
 
4254
4255
  const channel = animationDef.channels[ i ];
4255
4256
  const sampler = animationDef.samplers[ channel.sampler ];
@@ -4289,7 +4290,7 @@ class GLTFParser {
4289
4290
 
4290
4291
  const tracks = [];
4291
4292
 
4292
- for ( let i = 0, il = nodes.length; i < il; i ++ ) {
4293
+ for ( i = 0, il = nodes.length; i < il; i ++ ) {
4293
4294
 
4294
4295
  const node = nodes[ i ];
4295
4296
  const inputAccessor = inputAccessors[ i ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/three",
3
- "version": "0.146.2",
3
+ "version": "0.146.3",
4
4
  "description": "JavaScript 3D library",
5
5
  "type": "module",
6
6
  "main": "./build/three.js",