diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-08-27 17:07:57 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-08-27 17:07:57 +0400 |
commit | 4e3f76e06b6654d4951a54804eaa808b040ef942 (patch) | |
tree | e4fbae0ffea2b37f35cf481243a4d696f2d805ed /release | |
parent | fe7de92c47b79aed701d5c0042a7f22bdcea545a (diff) |
Fix T41406:
Disallow kernels bigger than 2x2 for blur/sharpen in projective painting
due to performance considerations.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index 65047017c65..046e54d41fc 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -129,7 +129,8 @@ def brush_texpaint_common(panel, context, layout, brush, settings, projpaint=Fal col.row().prop(brush, "direction", expand=True) col.separator() col.prop(brush, "sharp_threshold") - col.prop(brush, "blur_kernel_radius") + if not projpaint: + col.prop(brush, "blur_kernel_radius") col.separator() col.prop(brush, "blur_mode") elif brush.image_tool == 'MASK': |