[Bf-blender-cvs] [9d3e2d640e5] greasepencil-object: UI: back randomize button

Antonio Vazquez noreply at git.blender.org
Mon Jun 12 20:29:14 CEST 2017


Commit: 9d3e2d640e521d30d590ca8d2ad2dd793a514c8c
Author: Antonio Vazquez
Date:   Mon Jun 12 20:29:02 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB9d3e2d640e521d30d590ca8d2ad2dd793a514c8c

UI: back randomize button

This button was removed in a previous commit by error

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

M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py

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

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 4186e00c80b..bdbc8c28aef 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -325,6 +325,7 @@ class GreasePencilBrushPanel:
             row = layout.row()
             row.prop(brush, "name", text='')
             row = layout.row(align=True)
+            row.prop(brush, "use_random_pressure", text='', icon='RNDCURVE')
             row.prop(brush, "line_width", text='Radius')
             row.prop(brush, "use_pressure", text='', icon='STYLUS_PRESSURE')
             row = layout.row(align=True)




More information about the Bf-blender-cvs mailing list