소스 검색

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)
 			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)
 			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.'
 
 			);