[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13677] trunk/blender/source/blender/ blenkernel/intern/particle_system.c: Now I' m really starting to wonder if I should be allowed to code at all.

Janne Karhu jhkarh at utu.fi
Wed Feb 13 21:08:39 CET 2008


Revision: 13677
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13677
Author:   jhk
Date:     2008-02-13 21:08:37 +0100 (Wed, 13 Feb 2008)

Log Message:
-----------
Now I'm really starting to wonder if I should be allowed to code at all. How many things can you get wrong with a simple comparison of two variables? Hopefully this is the final fix for bug 8274.. sigh..

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	2008-02-13 19:48:13 UTC (rev 13676)
+++ trunk/blender/source/blender/blenkernel/intern/particle_system.c	2008-02-13 20:08:37 UTC (rev 13677)
@@ -4121,7 +4121,7 @@
 			if(pa->alive==PARS_UNBORN
 				|| pa->alive==PARS_KILLED
 				|| ELEM(part->phystype,PART_PHYS_NO,PART_PHYS_KEYED)
-				|| pa->time >= ctime){
+				|| pa->time >= cfra){
 				/* allways reset particles to emitter before birth */
 				reset_particle(pa,psys,psmd,ob,dtime,cfra,vg_vel,vg_tan,vg_rot);
 				copy_particle_key(key,&pa->state,1);





More information about the Bf-blender-cvs mailing list