|
@@ -124,7 +124,7 @@ THREE.OBJExporter.prototype = {
|
|
|
|
|
|
j = indices.getX( i + m ) + 1;
|
|
|
|
|
|
- face[ m ] = ( indexVertex + j ) + '/' + ( uvs ? ( indexVertexUvs + j ) : '' ) + '/' + ( indexNormals + j );
|
|
|
+ face[ m ] = ( indexVertex + j ) + '/' + ( uvs ? ( indexVertexUvs + j ) : '' ) + ( normals ? '/' + ( indexNormals + j ) : '' );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -141,7 +141,7 @@ THREE.OBJExporter.prototype = {
|
|
|
|
|
|
j = i + m + 1;
|
|
|
|
|
|
- face[ m ] = ( indexVertex + j ) + '/' + ( uvs ? ( indexVertexUvs + j ) : '' ) + '/' + ( indexNormals + j );
|
|
|
+ face[ m ] = ( indexVertex + j ) + '/' + ( uvs ? ( indexVertexUvs + j ) : '' ) + '/' + ( normals ? '/' + ( indexNormals + j ) : '' );
|
|
|
|
|
|
}
|
|
|
|