Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoDEmanX <codemanx@gmx.de>2014-05-09 17:54:21 +0400
committerCoDEmanX <codemanx@gmx.de>2014-05-09 17:54:21 +0400
commit6e5f4cc63e76606bc762d1850df0d2a4dfe9e042 (patch)
tree8722fcda9d61f347f6a4208de8e650834db3a506 /add_mesh_ant_landscape.py
parent4dacb21127a6da84ac4f52bbcd5ac36dfbf3d88e (diff)
ANT Landscape addon: Fix normals
As suggested by meta-androcto: http://blenderartists.org/forum/showthread.php?336209-ANT-Landscape-generates-terrain-with-incorrect-normals
Diffstat (limited to 'add_mesh_ant_landscape.py')
-rw-r--r--add_mesh_ant_landscape.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_ant_landscape.py b/add_mesh_ant_landscape.py
index 25fe5d3c..2b09b6a7 100644
--- a/add_mesh_ant_landscape.py
+++ b/add_mesh_ant_landscape.py
@@ -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: