|
@@ -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`;
|
|
|
|
|
|
}
|
|
|
|
|
@@ -537,7 +537,7 @@ THREE.PLYExporter.prototype = {
|
|
|
|
|
|
} );
|
|
|
|
|
|
- result = `${ header }${vertexList}\n${ includeIndices ? `${faceList}\n` : '' }`;
|
|
|
+ result = `${ header }${vertexList}${ includeIndices ? `${faceList}\n` : '\n' }`;
|
|
|
|
|
|
}
|
|
|
|