[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31984] trunk/blender/source/blender/ blenkernel/intern/particle_system.c: Possible fix for all the particles related SIMD SVBVH bugs.
Janne Karhu
jhkarh at gmail.com
Fri Sep 17 21:02:19 CEST 2010
Revision: 31984
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31984
Author: jhk
Date: 2010-09-17 21:02:19 +0200 (Fri, 17 Sep 2010)
Log Message:
-----------
Possible fix for all the particles related SIMD SVBVH bugs.
* Velocity for particles that were born at exactly integer frames was calculated wrong when they were born.
Note: If you had a raytrace acceleration related bug, please clear the pointcache for all particles, toggle a particle setting to reset pointcache and rebake to create a valid simulation.
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-09-17 16:54:59 UTC (rev 31983)
+++ trunk/blender/source/blender/blenkernel/intern/particle_system.c 2010-09-17 19:02:19 UTC (rev 31984)
@@ -3441,7 +3441,7 @@
else if(part->phystype == PART_PHYS_NO)
reset_particle(sim, pa, dtime, cfra);
- if(dfra>0.0 && ELEM(pa->alive,PARS_ALIVE,PARS_DYING)){
+ if(pa_dfra>0.0 && ELEM(pa->alive,PARS_ALIVE,PARS_DYING)){
switch(part->phystype){
case PART_PHYS_NEWTON:
/* do global forces & effectors */
More information about the Bf-blender-cvs
mailing list