diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-07-11 18:15:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-11 18:19:07 +0300 |
commit | 8bc6f8bf20ab13abd232ba12f77eb904dfe95d79 (patch) | |
tree | 7ad5f98abbf5895256c7bfc050eaa0ecffccdec1 /source/blender/editors/sculpt_paint | |
parent | bbe33ecc881413edd2952720ad6377d00c51ed93 (diff) |
Fix T48812: Brush size invalid with HIDPI
Missed from c5b2f12b
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c index eba9448aa40..53c11e2a6a9 100644 --- a/source/blender/editors/sculpt_paint/paint_cursor.c +++ b/source/blender/editors/sculpt_paint/paint_cursor.c @@ -1016,7 +1016,7 @@ static void paint_draw_cursor(bContext *C, int x, int y, void *UNUSED(unused)) translation[1] = y; outline_alpha = 0.5; outline_col = brush->add_col; - final_radius = (BKE_brush_size_get(scene, brush) * zoomx) / U.pixelsize; + final_radius = (BKE_brush_size_get(scene, brush) * zoomx); /* don't calculate rake angles while a stroke is active because the rake variables are global and * we may get interference with the stroke itself. For line strokes, such interference is visible */ |