diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-08-27 16:44:36 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-08-27 16:44:36 +0400 |
commit | fe7de92c47b79aed701d5c0042a7f22bdcea545a (patch) | |
tree | bc06c080e47a1597ac90bd482e1a7c166d558f5b /source/blender/editors/sculpt_paint/paint_intern.h | |
parent | 2a15ecdb5d3a8b56851e587bbdf0c562bfd2252e (diff) |
Revert "Fix part of T41406"
This reverts commit 7c7cb01aa5641414d9f0c39ab81df0f57205f362.
The smoothing weights will cause shifting in the image if not calculated
as they were in the branch. Solution for better performance will be to force-clip
kernel to a square of size two for projective painting.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index 8d42bbb7800..d0cd59d7be6 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -288,7 +288,7 @@ typedef struct { float *wdata; /* actual kernel */ int side; /* kernel side */ int side_squared; /* data side */ - float pixel_len; /* pixels around center that kernel is wide */ + int pixel_len; /* pixels around center that kernel is wide */ } BlurKernel; enum BlurKernelType; |