Browse Source

GLTFExporter: Update the comment for morph animation track skip.

Takahiro 7 years ago
parent
commit
7e028ce896
1 changed files with 3 additions and 3 deletions
  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;
 
 					}