Explorar o código

GLTFExporter: Update the comment for morph animation track skip.

Takahiro %!s(int64=8) %!d(string=hai) anos
pai
achega
7e028ce896
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      examples/js/exporters/GLTFExporter.js

+ 3 - 3
examples/js/exporters/GLTFExporter.js

@@ -1381,9 +1381,9 @@ THREE.GLTFExporter.prototype = {
 					if ( trackNode.morphTargetInfluences.length !== 1 &&
 						trackBinding.propertyIndex !== undefined ) {
 
-						console.warn( 'THREE.GLTFExporter: Skipping animation track "%s" because ' +
-							'glTF can not handle single morph animation. ' +
-							'Try to merge .morphTargetInfluences elements instead.', track.name );
+						console.warn( 'THREE.GLTFExporter: Skipping animation track "%s". ' +
+							'Morph target keyframe tracks must target all available morph targets ' +
+							'for the given mesh.', track.name );
 						continue;
 
 					}

粤ICP备19079148号