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:
authorAntony Riakiotakis <kalast@gmail.com>2014-08-27 17:07:57 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-08-27 17:07:57 +0400
commit4e3f76e06b6654d4951a54804eaa808b040ef942 (patch)
treee4fbae0ffea2b37f35cf481243a4d696f2d805ed /release/scripts/startup/bl_ui/properties_paint_common.py
parentfe7de92c47b79aed701d5c0042a7f22bdcea545a (diff)
Fix T41406:
Disallow kernels bigger than 2x2 for blur/sharpen in projective painting due to performance considerations.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_paint_common.py3
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':