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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-02-21 12:30:50 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-02-21 12:30:50 +0300
commit78ceb4b51ed92ba2a1aca5bbca9dacea00b6b51a (patch)
tree96ee47fb85612cc3aed56559cf4123f9ef600b58 /source/blender/blenkernel/intern/particle_child.c
parent813204838a268fd8108e9f9bc96bb1b4680c7929 (diff)
parentb1946e7f7ad2c9a308060f4f1a06f82cdcb4c8a5 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/blenkernel/intern/particle_child.c')
-rw-r--r--source/blender/blenkernel/intern/particle_child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle_child.c b/source/blender/blenkernel/intern/particle_child.c
index 28bdde4e5f5..c2640e9b9e2 100644
--- a/source/blender/blenkernel/intern/particle_child.c
+++ b/source/blender/blenkernel/intern/particle_child.c
@@ -394,7 +394,7 @@ void psys_apply_child_modifiers(ParticleThreadContext *ctx, struct ListBase *mod
get_strand_normal(ma, ornor, cur_length, (key-1)->vel);
}
- if (use_length_check && k > 1) {
+ if (use_length_check && k > 0) {
float dvec[3];
/* check if path needs to be cut before actual end of data points */
if (!check_path_length(k, keys, key, max_length, step_length, &cur_length, dvec)) {