瀏覽代碼

Update error message

Garrett Johnson 7 年之前
父節點
當前提交
b55743ebcd
共有 2 個文件被更改,包括 4 次插入6 次删除
  1. 2 3
      examples/js/exporters/PLYBinaryExporter.js
  2. 2 3
      examples/js/exporters/PLYExporter.js

+ 2 - 3
examples/js/exporters/PLYBinaryExporter.js

@@ -94,9 +94,8 @@ THREE.PLYBinaryExporter.prototype = {
 			// as triangles)
 			// as triangles)
 			console.error(
 			console.error(
 
 
-				'PLYExporter: Failed to generate a valid PLY file because the ' +
-				'number of faces is not divisible by 3. This can be caused by ' +
-				'exporting a mix of triangle and non-triangle mesh types.'
+				'PLYBinaryExporter: Failed to generate a valid PLY file with triangle indices because the ' +
+				'number of faces is not divisible by 3.'
 
 
 			);
 			);
 
 

+ 2 - 3
examples/js/exporters/PLYExporter.js

@@ -240,9 +240,8 @@ THREE.PLYExporter.prototype = {
 			// as triangles)
 			// as triangles)
 			console.error(
 			console.error(
 
 
-				'PLYExporter: Failed to generate a valid PLY file because the ' +
-				'number of faces is not divisible by 3. This can be caused by ' +
-				'exporting a mix of triangle and non-triangle mesh types.'
+				'PLYExporter: Failed to generate a valid PLY file with triangle indices because the ' +
+				'number of faces is not divisible by 3.'
 
 
 			);
 			);