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 /source/blender/editors/sculpt_paint/paint_image_2d.c
parentfe7de92c47b79aed701d5c0042a7f22bdcea545a (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.c2
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);