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:
authorBrendon Murphy <meta.androcto1@gmail.com>2012-02-29 01:57:19 +0400
committerBrendon Murphy <meta.androcto1@gmail.com>2012-02-29 01:57:19 +0400
commite5eab55b307479b9e2d2dd6bab14c45707f2e0b1 (patch)
treee12a62e39ca34508703294743c5e376485b3fc6a /add_mesh_ant_landscape.py
parente3f5cd8fd462d54961a6d87400b3b67a92f734d6 (diff)
commented out set smooth function.
inappropriate for this mesh type.
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