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 /source/blender/editors/sculpt_paint/paint_image_2d.c | |
parent | fe7de92c47b79aed701d5c0042a7f22bdcea545a (diff) |
Fix T41406:
Disallow kernels bigger than 2x2 for blur/sharpen in projective painting
due to performance considerations.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_2d.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_2d.c b/source/blender/editors/sculpt_paint/paint_image_2d.c index 1cba8a2cf23..5607dce8d54 100644 --- a/source/blender/editors/sculpt_paint/paint_image_2d.c +++ b/source/blender/editors/sculpt_paint/paint_image_2d.c @@ -1249,7 +1249,7 @@ void *paint_2d_new_stroke(bContext *C, wmOperator *op, int mode) } if (brush->imagepaint_tool == PAINT_TOOL_SOFTEN) { - s->blurkernel = paint_new_blur_kernel(brush); + s->blurkernel = paint_new_blur_kernel(brush, false); } paint_brush_init_tex(s->brush); |