diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-08 06:33:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-08 07:08:31 +0300 |
commit | d989d8a37456da5b79b6c3a3d8278888e5f06ad0 (patch) | |
tree | 6bde8548cbc193bff9eac4d8b6f0f8a42533c445 /source/blender/editors | |
parent | 9c9dab095d49d286887a5aa9df69f1a16570aaf1 (diff) |
CMake: only quiet warnings for generated rna files
also minor warning cleanup
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index 09c30479860..fac1a05862f 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -106,7 +106,7 @@ static int brush_scale_size_exec(bContext *C, wmOperator *op) const int old_size = BKE_brush_size_get(scene, brush); int size = (int)(scalar * old_size); - if (fabs(old_size - size) < U.pixelsize) { + if (abs(old_size - size) < U.pixelsize) { if (scalar > 1) { size += U.pixelsize; } |