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:
authorBastien Montagne <bastien@blender.org>2020-09-21 11:35:50 +0300
committerBastien Montagne <bastien@blender.org>2020-09-21 11:37:23 +0300
commit3bb53b0ee640e744219e2a38207d1fbc76ca2068 (patch)
treeb84afd5a022be12f02ce36c17e867fbdd0dcd266 /source/blender/editors/sculpt_paint/paint_utils.c
parent213445e3896922c2278fc7cdcb74d8ca13fa6a3e (diff)
Cleanup: Sculpt/Paint ED code: correct return constant types.
Mainly use false/true for bool, but also a few others. No change in behavior expected.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_utils.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c
index b7e5a73cbb3..fa79bd8ee93 100644
--- a/source/blender/editors/sculpt_paint/paint_utils.c
+++ b/source/blender/editors/sculpt_paint/paint_utils.c
@@ -96,7 +96,7 @@ bool paint_convert_bb_to_rect(rcti *rect,
/* return zero if the bounding box has non-positive volume */
if (bb_min[0] > bb_max[0] || bb_min[1] > bb_max[1] || bb_min[2] > bb_max[2]) {
- return 0;
+ return false;
}
ED_view3d_ob_project_mat_get(rv3d, ob, projection_mat);