diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-09-26 12:08:56 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:03 +0300 |
commit | e694b7c04b42bde135ac45ec3d25a205d5f296a4 (patch) | |
tree | e4b35cab87ec6ad5ddaf85983b6fc38347150743 /source/blender/blenkernel/intern/particle_system.c | |
parent | 43424a639b1d6b6884afc6db1cf93bd817ab5d92 (diff) |
Set the length threshold for hair simulation to 10% again (from 1%).
With the default 5 substeps the simulation can otherwise still become
unstable. This is just a preliminary measure anyway until the length
variance can be fixed properly.
Diffstat (limited to 'source/blender/blenkernel/intern/particle_system.c')
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index 6474e3e37ac..a54488f15db 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -3984,7 +3984,7 @@ static bool psys_hair_use_simulation(ParticleData *pa, float max_length) * The hair system should always make sure the hair segments have reasonable length ratios, * but this can happen in old files when e.g. cutting hair. */ - const float min_length = 0.01f * max_length; + const float min_length = 0.1f * max_length; HairKey *key; int k; |