Skip to content

Commit 0040bd2

Browse files
s-rigaudSamuel Rigaud
and
Samuel Rigaud
authored
MD2Loader: clip creation requires additional argument (#30671)
Co-authored-by: Samuel Rigaud <[email protected]>
1 parent d95b2e2 commit 0040bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/loaders/MD2Loader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ class MD2Loader extends Loader {
388388
geometry.morphAttributes.normal = morphNormals;
389389
geometry.morphTargetsRelative = false;
390390

391-
geometry.animations = AnimationClip.CreateClipsFromMorphTargetSequences( frames, 10 );
391+
geometry.animations = AnimationClip.CreateClipsFromMorphTargetSequences( frames, 10, false );
392392

393393
return geometry;
394394

0 commit comments

Comments
 (0)