提交 17b0437c 编写于 作者: M Mugen87

PLYExporter: Fix output for MeshLab and Quicklook 3D.

上级 1740d6ba
...@@ -205,7 +205,7 @@ THREE.PLYExporter.prototype = { ...@@ -205,7 +205,7 @@ THREE.PLYExporter.prototype = {
// faces // faces
header += header +=
`element face ${faceCount}\n` + `element face ${faceCount}\n` +
`property list uchar uint${ indexByteCount * 8 } vertex_index\n`; `property list uchar int vertex_index\n`;
} }
......
...@@ -211,7 +211,7 @@ PLYExporter.prototype = { ...@@ -211,7 +211,7 @@ PLYExporter.prototype = {
// faces // faces
header += header +=
`element face ${faceCount}\n` + `element face ${faceCount}\n` +
`property list uchar uint${ indexByteCount * 8 } vertex_index\n`; `property list uchar int vertex_index\n`;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册