[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26889] trunk/blender/source/blender/ blenkernel/intern/particle_system.c: Fix #20171: properties of hair are not animateable.

Brecht Van Lommel brecht at blender.org
Sun Feb 14 15:37:26 CET 2010


Revision: 26889
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26889
Author:   blendix
Date:     2010-02-14 15:37:26 +0100 (Sun, 14 Feb 2010)

Log Message:
-----------
Fix #20171: properties of hair are not animateable.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/particle_system.c

Modified: trunk/blender/source/blender/blenkernel/intern/particle_system.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/particle_system.c	2010-02-14 14:18:23 UTC (rev 26888)
+++ trunk/blender/source/blender/blenkernel/intern/particle_system.c	2010-02-14 14:37:26 UTC (rev 26889)
@@ -3945,6 +3945,7 @@
 
 		for(i=0; i<=psys->part->hair_step; i++){
 			hcfra=100.0f*(float)i/(float)psys->part->hair_step;
+			BKE_animsys_evaluate_animdata(&psys->part->id, psys->part->adt, hcfra, ADT_RECALC_ANIM);
 			system_step(&sim, hcfra);
 			save_hair(&sim, hcfra);
 		}





More information about the Bf-blender-cvs mailing list