[Bf-blender-cvs] [363782d] hair_system: Fixed a bug of the simulation stepping loop that caused excessive increase of the overall step.

Lukas Tönne noreply at git.blender.org
Mon Jul 28 14:25:02 CEST 2014


Commit: 363782d191e417bdee7919f010a62c61aef3cb95
Author: Lukas Tönne
Date:   Mon Jul 28 14:21:43 2014 +0200
Branches: hair_system
https://developer.blender.org/rB363782d191e417bdee7919f010a62c61aef3cb95

Fixed a bug of the simulation stepping loop that caused excessive
increase of the overall step.

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

M	source/blender/modifiers/intern/MOD_hair.c

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

diff --git a/source/blender/modifiers/intern/MOD_hair.c b/source/blender/modifiers/intern/MOD_hair.c
index 95c8af1..cbd3e92 100644
--- a/source/blender/modifiers/intern/MOD_hair.c
+++ b/source/blender/modifiers/intern/MOD_hair.c
@@ -105,6 +105,8 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *UNUSED(ob),
 		HAIR_solver_free(solver);
 	}
 	
+	hmd->prev_cfra = cfra;
+	
 	return dm;
 }




More information about the Bf-blender-cvs mailing list