2
0
Эх сурвалжийг харах

Merge pull request #10489 from donmccurdy/bug-clips-ref

Fix old reference to gltf.clips in demo.
Mr.doob 8 жил өмнө
parent
commit
2d353f65c9

+ 2 - 2
examples/webgl_loader_gltf.html

@@ -541,11 +541,11 @@
 
 			function toggleAnimations() {
 
-				var i, len = gltf.clips.length;
+				var i, len = gltf.animations.length;
 
 				for (i = 0; i < len; i++) {
 
-					var clip = gltf.clips[i];
+					var clip = gltf.animations[i];
 					var action = mixer.existingAction( clip );
 
 					if (action.isRunning()) {