Revision: 27132
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27132
Author:   jhk
Date:     2010-02-25 01:03:49 +0100 (Thu, 25 Feb 2010)

Log Message:
-----------
Particles with "no physics" didn't stick to the emitter like they were supposed 
to.

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-25 00:03:16 UTC (rev 27131)
+++ trunk/blender/source/blender/blenkernel/intern/particle_system.c    
2010-02-25 00:03:49 UTC (rev 27132)
@@ -3313,6 +3313,8 @@
                        if(pa->alive==PARS_UNBORN
                                && (part->flag & PART_UNBORN || cfra + 
psys->pointcache->step > pa->time))
                                reset_particle(sim, pa, dtime, cfra);
+                       else if(part->phystype == PART_PHYS_NO)
+                               reset_particle(sim, pa, dtime, cfra);
 
                        if(dfra>0.0 && ELEM(pa->alive,PARS_ALIVE,PARS_DYING)){
                                switch(part->phystype){


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to