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-12 21:45:57 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-08-12 21:45:57 +0400
commit7c7cb01aa5641414d9f0c39ab81df0f57205f362 (patch)
tree29731ff090dee60f90ea23ed19e6bcadea58ae6b /source/blender/editors/sculpt_paint/paint_intern.h
parent561f375109c063663919e815b3c05c802e9428f8 (diff)
Fix part of T41406
Attempt to make soften brush faster by allowing non-symmetric kernels. Projective painting supports those naturally but for 2D painting there's a small hack to avoid shifting of the texture. Not totally correct but it works for now.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_intern.h')
-rw-r--r--source/blender/editors/sculpt_paint/paint_intern.h2
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 736e6d229b3..57285ad9bb6 100644
--- a/source/blender/editors/sculpt_paint/paint_intern.h
+++ b/source/blender/editors/sculpt_paint/paint_intern.h
@@ -287,7 +287,7 @@ typedef struct {
float *wdata; /* actual kernel */
int side; /* kernel side */
int side_squared; /* data side */
- int pixel_len; /* pixels around center that kernel is wide */
+ float pixel_len; /* pixels around center that kernel is wide */
} BlurKernel;
enum BlurKernelType;