diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-11 21:40:37 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-11 21:49:32 +0400 |
commit | afadaaf8e0efe79e2fa1e108e5a2beb7a02182f4 (patch) | |
tree | f5fa22bf0cd90acd68a1307b63bb497fee18ca1c /source/blender/editors/sculpt_paint/paint_image.c | |
parent | 842a66b07cc1092975191eb3110f484b5d1fd787 (diff) |
Code cleanup: fix a few visual studio compiler warnings.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index 463efedf957..dd638ab93cd 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -538,7 +538,7 @@ static void paint_stroke_update_step(bContext *C, struct PaintStroke *stroke, Po if (BKE_brush_use_alpha_pressure(scene, brush)) BKE_brush_alpha_set(scene, brush, max_ff(0.0f, startalpha * pressure)); if (BKE_brush_use_size_pressure(scene, brush)) - BKE_brush_size_set(scene, brush, max_ff(1.0f, startsize * pressure)); + BKE_brush_size_set(scene, brush, (int)max_ff(1.0f, startsize * pressure)); if (pop->mode == PAINT_MODE_3D_PROJECT) { paint_proj_stroke(C, pop->custom_paint, pop->prevmouse, mouse); |