Przeglądaj źródła

PLYExporter: Fix output for MeshLab and Quicklook 3D.

Mugen87 5 lat temu
rodzic
commit
17b0437c6d

+ 1 - 1
examples/js/exporters/PLYExporter.js

@@ -205,7 +205,7 @@ THREE.PLYExporter.prototype = {
 			// faces
 			header +=
 				`element face ${faceCount}\n` +
-				`property list uchar uint${ indexByteCount * 8 } vertex_index\n`;
+				`property list uchar int vertex_index\n`;
 
 		}
 

+ 1 - 1
examples/jsm/exporters/PLYExporter.js

@@ -211,7 +211,7 @@ PLYExporter.prototype = {
 			// faces
 			header +=
 				`element face ${faceCount}\n` +
-				`property list uchar uint${ indexByteCount * 8 } vertex_index\n`;
+				`property list uchar int vertex_index\n`;
 
 		}