[Bf-blender-cvs] [76a6b1a17a6] greasepencil-object: UI: Add missing pressure button

Antonio Vazquez noreply at git.blender.org
Mon Jun 12 12:05:26 CEST 2017


Commit: 76a6b1a17a64474967b17306fde7cacf8bfa7d43
Author: Antonio Vazquez
Date:   Mon Jun 12 12:05:12 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB76a6b1a17a64474967b17306fde7cacf8bfa7d43

UI: Add missing pressure button

This button was removed in a previous commit.

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

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 2574d200372..80f26214741 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -324,8 +324,9 @@ class GreasePencilBrushPanel:
         if brush is not None:
             row = layout.row()
             row.prop(brush, "name", text='')
-            row = layout.row()
+            row = layout.row(align=True)
             row.prop(brush, "line_width", text='Radius')
+            row.prop(brush, "use_pressure", text='', icon='STYLUS_PRESSURE')
             row = layout.row(align=True)
             row.prop(brush, "use_random_strength", text='', icon='RNDCURVE')
             row.prop(brush, "strength", slider=True)




More information about the Bf-blender-cvs mailing list