Skip to content
Snippets Groups Projects
Commit 3eb55276 authored by Constantin Rahn's avatar Constantin Rahn
Browse files

Fix for exporting meshes with smooth and flat faces in one Mesh.

Thanks Campbell
parent aaa6c431
Branches
Tags
No related merge requests found
...@@ -1115,7 +1115,7 @@ def write_pov(filename, scene=None, info_callback=None): ...@@ -1115,7 +1115,7 @@ def write_pov(filename, scene=None, info_callback=None):
indices = ((0, 1, 2),) indices = ((0, 1, 2),)
for i1, i2, i3 in indices: for i1, i2, i3 in indices:
if f.use_smooth: if me.faces[fi].use_smooth:
file.write(',\n') file.write(',\n')
tabWrite('<%d,%d,%d>' %\ tabWrite('<%d,%d,%d>' %\
(uniqueNormals[verts_normals[fv[i1]]][0],\ (uniqueNormals[verts_normals[fv[i1]]][0],\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment