Bladeren bron

Update error message

Garrett Johnson 7 jaren geleden
bovenliggende
commit
b55743ebcd
2 gewijzigde bestanden met toevoegingen van 4 en 6 verwijderingen
  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.'
 
 			);