[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3037] trunk/py/scripts/addons/ add_mesh_ant_landscape.py: commented out set smooth function.

Brendon Murphy meta.androcto1 at gmail.com
Tue Feb 28 22:57:20 CET 2012


Revision: 3037
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3037
Author:   meta-androcto
Date:     2012-02-28 21:57:19 +0000 (Tue, 28 Feb 2012)
Log Message:
-----------
commented out set smooth function.
inappropriate for this mesh type.

Modified Paths:
--------------
    trunk/py/scripts/addons/add_mesh_ant_landscape.py

Modified: trunk/py/scripts/addons/add_mesh_ant_landscape.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_ant_landscape.py	2012-02-28 18:22:46 UTC (rev 3036)
+++ trunk/py/scripts/addons/add_mesh_ant_landscape.py	2012-02-28 21:57:19 UTC (rev 3037)
@@ -783,11 +783,11 @@
                 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



More information about the Bf-extensions-cvs mailing list