ANT Landscape addon: Fix normals
As suggested by meta-androcto: http://blenderartists.org/forum/showthread.php?336209-ANT-Landscape-generates-terrain-with-incorrect-normals
This commit is contained in:
parent
4dacb21127
commit
6e5f4cc63e
|
@ -775,7 +775,7 @@ class landscape_add(bpy.types.Operator):
|
|||
# create mesh object
|
||||
obj = create_mesh_object(context, verts, [], faces, "Landscape")
|
||||
bpy.ops.object.mode_set(mode='EDIT')
|
||||
bpy.ops.mesh.normals_make_consistent(inside=False)
|
||||
bpy.ops.mesh.normals_make_consistent(inside=True)
|
||||
bpy.ops.object.mode_set(mode='OBJECT')
|
||||
# sphere, remove doubles
|
||||
if self.SphereMesh !=0:
|
||||
|
|
Loading…
Reference in New Issue