@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
|
-
|
|
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 (
|
|
4293
|
+
for ( i = 0, il = nodes.length; i < il; i ++ ) {
|
|
4293
4294
|
|
|
4294
4295
|
const node = nodes[ i ];
|
|
4295
4296
|
const inputAccessor = inputAccessors[ i ];
|