Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-04-23 18:25:37 +0300
committerAntonioya <blendergit@gmail.com>2019-04-23 18:26:01 +0300
commit40baa2e2b358a8a376fd54f0ae0d52a4ef75dc4c (patch)
treef527e533e83edc398fff08dc0cb04451e7cbaaa2 /release
parent8e861725dc9e9388c1c764491676c0684b1b6f8f (diff)
GPencil: Add support for gradient to Box strokes
Before this options was only available to Dots mode.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 2ec1e20116c..81804f6a399 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1729,7 +1729,7 @@ class VIEW3D_PT_tools_grease_pencil_brush_option(View3DPanel, Panel):
col.separator()
subcol = col.column(align=True)
- if ma and ma.grease_pencil.mode != 'DOTS':
+ if ma and ma.grease_pencil.mode == 'LINE':
subcol.enabled = False
subcol.prop(gp_settings, "gradient_factor", slider=True)
subcol.prop(gp_settings, "gradient_shape")