Commit: 67143dba0d9774db1aa3cab3b122eec3e28d9915
Author: Antonioya
Date:   Tue Mar 19 14:07:26 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB67143dba0d9774db1aa3cab3b122eec3e28d9915

GPencil: Add gradient opacity parameter to topbar

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

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

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

diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py 
b/release/scripts/startup/bl_ui/properties_paint_common.py
index ac63948d18a..6854b024d4f 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -428,6 +428,8 @@ def brush_basic_gpencil_paint_settings(layout, context, 
brush, *, compact=True):
         row = layout.row(align=True)
         row.prop(gp_settings, "pen_strength", slider=True)
         row.prop(gp_settings, "use_strength_pressure", text="", 
icon='STYLUS_PRESSURE')
+        row = layout.row(align=True)
+        row.prop(gp_settings, "gradient_factor", text="Opacity")
 
 
 def brush_basic_gpencil_sculpt_settings(layout, context, brush, *, 
compact=False):

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to