Skip to content

Commit de1cd33

Browse files
* Add latest changes
1 parent 68cbb86 commit de1cd33

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed
512 Bytes
Binary file not shown.

import-export-clausewitz/exporter.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,12 @@ def export_mesh(self, name):
4545
transform[0][0] = bpy.data.objects[name].scale[0]
4646
transform[1][1] = bpy.data.objects[name].scale[1]
4747
transform[2][2] = bpy.data.objects[name].scale[2]
48-
print(transform)
49-
#mathutils.Matrix. Vector((1.0, 1.0, 1.0))
50-
5148

5249
for i in range(0, len(bm.verts)):
5350
verts.append(bm.verts[i].co * transform)
5451
bm.verts[i].normal_update()
55-
bm.verts[i].normal.normalize()
56-
normals.append((0.0, 0.0, 0.0))
52+
#bm.verts[i].normal.invert()
53+
normals.append(bm.verts[i].normal)
5754

5855
bm.faces.ensure_lookup_table()
5956

0 commit comments

Comments
 (0)