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.
This commit is contained in:
Lukas Tönne
2014-09-26 10:08:56 +02:00
parent 43424a639b
commit e694b7c04b

View File

@@ -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;