mirror of
https://github.com/OpenFusionProject/scripts.git
synced 2024-11-21 13:50:05 +00:00
Fix normals
This commit is contained in:
parent
ef8ae1fb6e
commit
131297552e
@ -69,6 +69,10 @@ def rip_terrain_mesh(f, outpath):
|
||||
v.co.x = v.co.y
|
||||
v.co.y = tmp
|
||||
|
||||
# flip normals
|
||||
for f in bm.faces:
|
||||
f.normal_flip()
|
||||
|
||||
# export
|
||||
bpy.ops.object.mode_set(mode="OBJECT")
|
||||
bpy.ops.object.select_all(action='SELECT')
|
||||
|
Loading…
Reference in New Issue
Block a user