[Bf-extensions-cvs] [8f4c8934] master: ant_landscape: Remove auto smooth shading T64428

meta-androcto noreply at git.blender.org
Sat Jul 6 14:19:42 CEST 2019


Commit: 8f4c893499ffc6050d587ab03192e5457eed96f4
Author: meta-androcto
Date:   Sat Jul 6 22:19:12 2019 +1000
Branches: master
https://developer.blender.org/rBA8f4c893499ffc6050d587ab03192e5457eed96f4

ant_landscape: Remove auto smooth shading T64428

===================================================================

M	ant_landscape/__init__.py
M	ant_landscape/add_mesh_ant_landscape.py
M	ant_landscape/ant_functions.py

===================================================================

diff --git a/ant_landscape/__init__.py b/ant_landscape/__init__.py
index e176e19c..ff1846e0 100644
--- a/ant_landscape/__init__.py
+++ b/ant_landscape/__init__.py
@@ -436,7 +436,7 @@ class AntLandscapePropertiesGroup(bpy.types.PropertyGroup):
             )
     smooth_mesh: BoolProperty(
             name="Smooth",
-            default=True,
+            default=False,
             description="Shade smooth"
             )
     tri_face: BoolProperty(
diff --git a/ant_landscape/add_mesh_ant_landscape.py b/ant_landscape/add_mesh_ant_landscape.py
index c80256d5..5d9b1c3b 100644
--- a/ant_landscape/add_mesh_ant_landscape.py
+++ b/ant_landscape/add_mesh_ant_landscape.py
@@ -77,7 +77,7 @@ class AntAddLandscape(bpy.types.Operator):
             )
     smooth_mesh: BoolProperty(
             name="Smooth",
-            default=True,
+            default=False,
             description="Shade smooth"
             )
     tri_face: BoolProperty(
diff --git a/ant_landscape/ant_functions.py b/ant_landscape/ant_functions.py
index 075c33b0..f104c6b3 100644
--- a/ant_landscape/ant_functions.py
+++ b/ant_landscape/ant_functions.py
@@ -424,9 +424,11 @@ def draw_ant_main(self, context, generate=True):
         if generate:
             row = box.row(align=True)
             split = row.split(align=True)
-            split.prop(self, "at_cursor", toggle=True, icon_only=True, icon='PIVOT_CURSOR')
-            split.prop(self, "smooth_mesh", toggle=True, icon_only=True, icon='SHADING_SOLID')
-            split.prop(self, "tri_face", toggle=True, icon_only=True, icon='MESH_DATA')
+
+#            split.prop(self, "at_cursor", toggle=True, icon_only=True, icon='PIVOT_CURSOR')
+
+#            split.prop(self, "smooth_mesh", toggle=True, icon_only=True, icon='SHADING_SOLID')
+            split.prop(self, "tri_face", toggle=True, text="Triangulate", icon='MESH_DATA')
 
             if not self.sphere_mesh:
                 row = box.row(align=True)



More information about the Bf-extensions-cvs mailing list