[Bf-blender-cvs] [8592e10] soc-2016-pbvh-painting: Disregard last commit.

Nathan Vollmer noreply at git.blender.org
Mon Jul 18 21:06:49 CEST 2016


Commit: 8592e10a43c3786aaa4c661828649be1a4925ef1
Author: Nathan Vollmer
Date:   Tue Jul 19 03:09:02 2016 -0600
Branches: soc-2016-pbvh-painting
https://developer.blender.org/rB8592e10a43c3786aaa4c661828649be1a4925ef1

Disregard last commit.

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

M	release/scripts/addons
M	release/scripts/addons_contrib
M	release/scripts/startup/bl_ui/space_view3d_toolbar.py

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

diff --git a/release/scripts/addons b/release/scripts/addons
index 04138bd..9dd1799 160000
--- a/release/scripts/addons
+++ b/release/scripts/addons
@@ -1 +1 @@
-Subproject commit 04138bdf09c5835273ab10177e99f2ffd3f1bc44
+Subproject commit 9dd17998ca72cdc1abce8e9e9cff8b82798244e2
diff --git a/release/scripts/addons_contrib b/release/scripts/addons_contrib
index 21462b9..6176bf6 160000
--- a/release/scripts/addons_contrib
+++ b/release/scripts/addons_contrib
@@ -1 +1 @@
-Subproject commit 21462b91fffb2a4693ef08cfee16a6fab32c4acb
+Subproject commit 6176bf658d03be565f7c82e2d2527c9c2aa1cf3b
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index c7fcc95..f9f6b43 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1694,6 +1694,7 @@ class VIEW3D_PT_tools_brush_appearance(Panel, View3DPaintPanel):
 class VIEW3D_PT_tools_weightpaint(View3DPanel, Panel):
     bl_category = "Tools"
     bl_context = "weightpaint"
+    bl_options = {'DEFAULT_CLOSED'}
     bl_label = "Weight Tools"
 
     def draw(self, context):
@@ -1706,6 +1707,23 @@ class VIEW3D_PT_tools_weightpaint(View3DPanel, Panel):
         props.use_reverse_transfer = True
         props.data_type = 'VGROUP_WEIGHTS'
 
+class VIEW3D_PT_weightpaint_symmetry(Panel, View3DPaintPanel):
+    bl_category = "Tools"
+    bl_context = "weightpaint"
+    bl_options = {'DEFAULT_CLOSED'}
+    bl_label = "Symmetry / Lock"
+
+    def draw(self, context):
+        layout = self.layout
+        toolsettings = context.tool_settings
+        wpaint = toolsettings.weight_paint
+        col = layout.column(align=True)
+        col.label(text="Mirror:")
+        row = col.row(align=True)
+        row.prop(wpaint, "use_symmetry_x", text="X", toggle=True)
+        row.prop(wpaint, "use_symmetry_y", text="Y", toggle=True)
+        row.prop(wpaint, "use_symmetry_z", text="Z", toggle=True)
+        layout.column().prop(wpaint, "radial_symmetry", text="Radial")
 
 class VIEW3D_PT_tools_weightpaint_options(Panel, View3DPaintPanel):
     bl_category = "Options"




More information about the Bf-blender-cvs mailing list