Spaces:
Sleeping
Sleeping
kyleleey
commited on
Commit
•
39c1a63
1
Parent(s):
166562d
update app
Browse files
app.py
CHANGED
@@ -417,7 +417,7 @@ def save_mesh(mesh, file_path):
|
|
417 |
print(" writing %d normals" % len(v_nrm))
|
418 |
assert(len(t_pos_idx) == len(t_nrm_idx))
|
419 |
for v in v_nrm:
|
420 |
-
f.write('vn {} {} {}\n'.format(v[
|
421 |
|
422 |
# faces
|
423 |
f.write("s 1 \n")
|
|
|
417 |
print(" writing %d normals" % len(v_nrm))
|
418 |
assert(len(t_pos_idx) == len(t_nrm_idx))
|
419 |
for v in v_nrm:
|
420 |
+
f.write('vn {} {} {}\n'.format(v[2], v[1], v[0]))
|
421 |
|
422 |
# faces
|
423 |
f.write("s 1 \n")
|