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>2018-09-30 17:21:28 +0300
committerAntonioya <blendergit@gmail.com>2018-09-30 17:21:28 +0300
commitec06532cefa6e3813992fe226dddfe2235edd33c (patch)
treec0c2c0372eecfcfc642b496cdec04f0f00a0de8f /release/scripts/startup
parent60935cb9d8bd94098eabbf84140fe07ce810fc03 (diff)
GP: New option to disable lasso while drawing
Now it's possible to disable the lasso effect of the fill color while drawing with a fill color. This sometimes is required to see the lines and it's the first step to implement a new lasso brush.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py3
1 files changed, 3 insertions, 0 deletions
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 7f6a47221c3..31038396efb 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -341,6 +341,9 @@ class GreasePencilAppearancePanel:
layout.prop(gp_settings, "use_cursor", text="Show Brush")
+ if gp_settings.gpencil_brush_type == 'DRAW':
+ layout.prop(gp_settings, "disable_lasso", text="Hide fill color while drawing")
+
if gp_settings.gpencil_brush_type == 'FILL':
layout.prop(brush, "cursor_color_add", text="Color")