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:
Diffstat (limited to 'add_mesh_ant_landscape.py')
-rw-r--r--add_mesh_ant_landscape.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/add_mesh_ant_landscape.py b/add_mesh_ant_landscape.py
index f30b90d2..7d6235ad 100644
--- a/add_mesh_ant_landscape.py
+++ b/add_mesh_ant_landscape.py
@@ -783,11 +783,11 @@ class landscape_add(bpy.types.Operator):
bpy.ops.object.mode_set(mode='OBJECT')
# Shade smooth
- if self.SmoothMesh !=0:
- if bpy.ops.object.shade_smooth.poll():
- bpy.ops.object.shade_smooth()
- else: # edit mode
- bpy.ops.mesh.faces_shade_smooth()
+# if self.SmoothMesh !=0:
+# if bpy.ops.object.shade_smooth.poll():
+# bpy.ops.object.shade_smooth()
+# else: # edit mode
+# bpy.ops.mesh.faces_shade_smooth()
# restore pre operator undo state
bpy.context.user_preferences.edit.use_global_undo = undo