We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68cbb86 commit de1cd33Copy full SHA for de1cd33
.vs/ClausewitzBlenderPlugin/v14/.suo
512 Bytes
import-export-clausewitz/exporter.py
@@ -45,15 +45,12 @@ def export_mesh(self, name):
45
transform[0][0] = bpy.data.objects[name].scale[0]
46
transform[1][1] = bpy.data.objects[name].scale[1]
47
transform[2][2] = bpy.data.objects[name].scale[2]
48
- print(transform)
49
- #mathutils.Matrix. Vector((1.0, 1.0, 1.0))
50
-
51
52
for i in range(0, len(bm.verts)):
53
verts.append(bm.verts[i].co * transform)
54
bm.verts[i].normal_update()
55
- bm.verts[i].normal.normalize()
56
- normals.append((0.0, 0.0, 0.0))
+ #bm.verts[i].normal.invert()
+ normals.append(bm.verts[i].normal)
57
58
bm.faces.ensure_lookup_table()
59
0 commit comments