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:
CoDEmanX 2014-05-09 15:54:21 +02:00
parent 4dacb21127
commit 6e5f4cc63e
1 changed files with 1 additions and 1 deletions

View File

@ -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: