v=f.verts[i]
if v.index not in vert_map:
vt=Vertex(v)
- if not f.smooth:
- vt.no=f.no
+ vt.no=Blender.Mathutils.Vector(f.no)
self.verts.append(vt)
vert_map[v.index]=vt
f.verts[i]=vt
else:
f.verts[i]=vert_map[v.index]
+ vert_map[v.index].no+=f.no
+
+ for v in self.verts:
+ v.no.normalize()
class Exporter: