diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-12-08 11:52:38 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-12-08 11:52:38 +0300 |
commit | a7b64a714d55a5075c01f97f485e28b0e69c2c96 (patch) | |
tree | 0fd91e8f0e9d600e3d0d8fc98d6828bcb2eea247 /source | |
parent | 4f48b2992bdfa2926c61457b364b75900d7416b0 (diff) |
Cleanup: Silence clang-tidy warnings.
Diffstat (limited to 'source')
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/object_dupli.cc b/source/blender/blenkernel/intern/object_dupli.cc index 76f1fecfdf3..18bcf2041c3 100644 --- a/source/blender/blenkernel/intern/object_dupli.cc +++ b/source/blender/blenkernel/intern/object_dupli.cc @@ -1499,7 +1499,7 @@ static void make_duplis_particle_system(const DupliContext *ctx, ParticleSystem else { /* First key. */ state.time = ctime; - if (psys_get_particle_state(&sim, a, &state, 0) == 0) { + if (psys_get_particle_state(&sim, a, &state, false) == 0) { continue; } diff --git a/source/blender/compositor/operations/COM_ColorCurveOperation.cc b/source/blender/compositor/operations/COM_ColorCurveOperation.cc index 7cfa1c09298..bf82ae73d55 100644 --- a/source/blender/compositor/operations/COM_ColorCurveOperation.cc +++ b/source/blender/compositor/operations/COM_ColorCurveOperation.cc @@ -45,7 +45,7 @@ void ColorCurveOperation::init_execution() input_black_program_ = this->get_input_socket_reader(2); input_white_program_ = this->get_input_socket_reader(3); - BKE_curvemapping_premultiply(curve_mapping_, 0); + BKE_curvemapping_premultiply(curve_mapping_, false); } void ColorCurveOperation::execute_pixel_sampled(float output[4], @@ -145,7 +145,7 @@ void ConstantLevelColorCurveOperation::init_execution() input_fac_program_ = this->get_input_socket_reader(0); input_image_program_ = this->get_input_socket_reader(1); - BKE_curvemapping_premultiply(curve_mapping_, 0); + BKE_curvemapping_premultiply(curve_mapping_, false); BKE_curvemapping_set_black_white(curve_mapping_, black_, white_); } diff --git a/source/blender/io/alembic/exporter/abc_writer_points.cc b/source/blender/io/alembic/exporter/abc_writer_points.cc index 70608fdbe92..2db9ad4ffab 100644 --- a/source/blender/io/alembic/exporter/abc_writer_points.cc +++ b/source/blender/io/alembic/exporter/abc_writer_points.cc @@ -112,7 +112,7 @@ void ABCPointsWriter::do_write(HierarchyContext &context) } state.time = DEG_get_ctime(args_.depsgraph); - if (psys_get_particle_state(&sim, p, &state, 0) == 0) { + if (psys_get_particle_state(&sim, p, &state, false) == 0) { continue; } |