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:
authorRichard Antalik <richardantalik@gmail.com>2020-05-14 05:19:11 +0300
committerRichard Antalik <richardantalik@gmail.com>2020-05-14 05:19:11 +0300
commit1fadda344ca5349e55c19d8472e40f7e45e9e47f (patch)
tree722014edf31f0b7f8d5b4253a79051e63dad3429 /source/blender/blenkernel/intern/particle.c
parentdb1099c0aeec3b793296808c77ea8eb9abad33f0 (diff)
parent4341b5b2fe722be7165896d8ce6502f4a158e878 (diff)
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-rw-r--r--source/blender/blenkernel/intern/particle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index 19342090eb7..2f2d3aded31 100644
--- a/source/blender/blenkernel/intern/particle.c
+++ b/source/blender/blenkernel/intern/particle.c
@@ -2383,9 +2383,10 @@ static bool psys_thread_context_init_path(ParticleThreadContext *ctx,
}
else {
totchild = (int)((float)totchild * (float)part->disp / 100.0f);
- totparent = MIN2(totparent, totchild);
}
+ totparent = MIN2(totparent, totchild);
+
if (totchild == 0) {
return false;
}