[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11220] branches/particles/source/blender/ blenkernel/intern/particle_system.c: bug fix: child particles crashed when a distribution error was encountered
Janne Karhu
jhkarh at utu.fi
Wed Jul 11 00:13:17 CEST 2007
Revision: 11220
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11220
Author: jhk
Date: 2007-07-11 00:13:02 +0200 (Wed, 11 Jul 2007)
Log Message:
-----------
bug fix: child particles crashed when a distribution error was encountered
Repost of previous commit message (actual message still left in approval due to mailing list subscription address change):
*bugs fixed:
-billboards aligned to velocity didn't render correctly
-boids wasn't listed in the physics menu when keyed physics was active, thanks olivS
-keyed particles didn't check for valid target properly
-a loop in keyed targets was not checked for
-drawing particle indexes didn't work with path visualization
*new things:
-field fall-off controls (due to space requirements also had to move deflections to a separate tab)
-modifications to how some fields work (like for example damping=1.0 for harmonic effector is (near) critical damping)
-even distribution is always on for children between faces
-boid predators can now kill their prey.. this happens when predator gets closer than it's size to the prey if "die on hit" is selected in the prey system
-option to only render child particles
-curve guides now have options from child particle clump & kink to apply along the curve
-curve guides can apply to child particles
Modified Paths:
--------------
branches/particles/source/blender/blenkernel/intern/particle_system.c
Modified: branches/particles/source/blender/blenkernel/intern/particle_system.c
===================================================================
--- branches/particles/source/blender/blenkernel/intern/particle_system.c 2007-07-10 21:04:32 UTC (rev 11219)
+++ branches/particles/source/blender/blenkernel/intern/particle_system.c 2007-07-10 22:13:02 UTC (rev 11220)
@@ -499,7 +499,7 @@
cpa->fuv[0]=pa->fuv[1]=pa->fuv[2]= 0.0;
cpa->parent=0;
cpa->pa[0]=cpa->pa[1]=cpa->pa[2]=cpa->pa[3]=0;
- pa->num= 0;
+ cpa->num= -1;
}
}
else {
More information about the Bf-blender-cvs
mailing list