diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2020-10-20 20:10:07 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2020-10-20 22:38:26 +0300 |
commit | f76d9de7ed69f830e75613fedcb3b6e1026219b8 (patch) | |
tree | 5bcd3d8b380ec8a0f2094f52ee11ccbc11bd7897 /source/blender/blenkernel/intern | |
parent | 10e2b771214af6d0e5589f267c6b1f10bfaea5f9 (diff) |
Cleanup: Clang-tidy bugprone-redundant-branch-condition
No functional change.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index b978236da06..7b8ee7343ee 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -4384,7 +4384,7 @@ void psys_get_particle_on_path(ParticleSimulationData *sim, t = psys_get_child_time(psys, cpa, -state->time, NULL, NULL); } - if (totchild && part->childtype == PART_CHILD_FACES) { + if (part->childtype == PART_CHILD_FACES) { /* part->parents could still be 0 so we can't test with totparent */ between = 1; } |