[Bf-blender-cvs] [7334e9d] hair_immediate_fixes: Reduced the length threshold for disabling short hairs from 0.1 to 0.01.

Lukas Tönne noreply at git.blender.org
Wed Sep 17 13:49:57 CEST 2014


Commit: 7334e9de91e6991a1f588d995b6c42e5d9413abc
Author: Lukas Tönne
Date:   Wed Sep 17 13:49:10 2014 +0200
Branches: hair_immediate_fixes
https://developer.blender.org/rB7334e9de91e6991a1f588d995b6c42e5d9413abc

Reduced the length threshold for disabling short hairs from 0.1 to 0.01.

===================================================================

M	source/blender/blenkernel/intern/particle_system.c

===================================================================

diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index 2410dba..441504e 100644
--- a/source/blender/blenkernel/intern/particle_system.c
+++ b/source/blender/blenkernel/intern/particle_system.c
@@ -4002,7 +4002,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.1f * max_length;
+	const float min_length = 0.01f * max_length;
 	
 	HairKey *key;
 	int k;




More information about the Bf-blender-cvs mailing list