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:
authorCampbell Barton <ideasman42@gmail.com>2015-02-08 06:33:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-02-08 07:08:31 +0300
commitd989d8a37456da5b79b6c3a3d8278888e5f06ad0 (patch)
tree6bde8548cbc193bff9eac4d8b6f0f8a42533c445 /source/blender/editors/sculpt_paint/paint_ops.c
parent9c9dab095d49d286887a5aa9df69f1a16570aaf1 (diff)
CMake: only quiet warnings for generated rna files
also minor warning cleanup
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_ops.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_ops.c2
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;
}