Forráskód Böngészése

Update error message

Garrett Johnson 7 éve
szülő
commit
b55743ebcd

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