[Bf-extensions-cvs] [226b954d] master: brush menus, fix indent last commit, bump version number

meta-androcto noreply at git.blender.org
Tue Aug 15 06:28:44 CEST 2017


Commit: 226b954dee7e47bac930c6f2a5a7946aed38e065
Author: meta-androcto
Date:   Tue Aug 15 14:28:25 2017 +1000
Branches: master
https://developer.blender.org/rBA226b954dee7e47bac930c6f2a5a7946aed38e065

brush menus, fix indent last commit, bump version number

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

M	space_view3d_brush_menus/__init__.py
M	space_view3d_brush_menus/dyntopo_menu.py

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

diff --git a/space_view3d_brush_menus/__init__.py b/space_view3d_brush_menus/__init__.py
index 9446083a..3371505e 100644
--- a/space_view3d_brush_menus/__init__.py
+++ b/space_view3d_brush_menus/__init__.py
@@ -23,7 +23,7 @@ bl_info = {
     "name": "Sculpt/Paint Brush Menus",
     "description": "Fast access to brushes & tools in Sculpt and Paint Modes",
     "author": "Ryan Inch (Imaginer)",
-    "version": (1, 1, 5),
+    "version": (1, 1, 6),
     "blender": (2, 78, 0),
     "location": "Alt V in Sculpt/Paint Modes",
     "warning": '',
diff --git a/space_view3d_brush_menus/dyntopo_menu.py b/space_view3d_brush_menus/dyntopo_menu.py
index da1bd8a9..1e7a5600 100644
--- a/space_view3d_brush_menus/dyntopo_menu.py
+++ b/space_view3d_brush_menus/dyntopo_menu.py
@@ -90,30 +90,30 @@ class DynTopoMenu(Menu):
                           ("Constant Detail", 'CONSTANT'),
                           ("Brush Detail", 'BRUSH'))
 
-        layout.row().label("Refine")
-        layout.row().separator()
+            layout.row().label("Refine")
+            layout.row().separator()
 
-        # add the refine menu items
-        for item in refine_items:
-            utils_core.menuprop(
-                    layout.row(), item[0], item[1],
-                    refine_path, disable=True,
-                    icon='RADIOBUT_OFF',
-                    disable_icon='RADIOBUT_ON'
-                    )
+            # add the refine menu items
+            for item in refine_items:
+                utils_core.menuprop(
+                        layout.row(), item[0], item[1],
+                        refine_path, disable=True,
+                        icon='RADIOBUT_OFF',
+                        disable_icon='RADIOBUT_ON'
+                        )
 
-        layout.row().label("")
+            layout.row().label("")
 
-        layout.row().label("Type")
-        layout.row().separator()
+            layout.row().label("Type")
+            layout.row().separator()
 
-        # add the type menu items
-        for item in type_items:
-            utils_core.menuprop(
-                    layout.row(), item[0], item[1],
-                    type_path, disable=True,
-                    icon='RADIOBUT_OFF', disable_icon='RADIOBUT_ON'
-                    )
+            # add the type menu items
+            for item in type_items:
+                utils_core.menuprop(
+                        layout.row(), item[0], item[1],
+                        type_path, disable=True,
+                        icon='RADIOBUT_OFF', disable_icon='RADIOBUT_ON'
+                        )
 
 
 class SymmetrizeMenu(Menu):



More information about the Bf-extensions-cvs mailing list