Commit: e9279e8f016bf04583c1062de0caf98a2a51c78c
Author: Lukas Tönne
Date: Tue Dec 2 19:02:48 2014 +0100
Branches: hair_immediate_fixes
https://developer.blender.org/rBe9279e8f016bf04583c1062de0caf98a2a51c78c
Display basic brush properties in the toolbar for hair edit mode.
===================================================================
M release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index cdff191..803349f 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -881,6 +881,21 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel):
layout.prop(brush, "puff_mode", expand=True)
layout.prop(brush, "use_puff_volume")
+ # Hair Mode #
+
+ elif context.hair_edit_object and brush:
+ col = layout.column()
+
+ row = col.row(align=True)
+ self.prop_unified_size(row, context, brush, "size", slider=True,
text="Radius")
+ self.prop_unified_size(row, context, brush, "use_pressure_size")
+
+ row = col.row(align=True)
+ self.prop_unified_strength(row, context, brush, "strength",
text="Strength")
+ self.prop_unified_strength(row, context, brush,
"use_pressure_strength")
+
+ col.prop(brush, "hair_tool", text="Tool")
+
# Sculpt Mode #
elif context.sculpt_object and brush:
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs