Didn't hear any complaints so I'm commiting the patch for bug:
http://projects.blender.org/tracker/index.php?func=detail&aid=76&group_id=9&atid =125 Kent
This commit is contained in:
@@ -363,10 +363,9 @@ void make_particle_keys(int depth, int nr, PartEff *paf, Particle *part, float *
|
|||||||
particle_tex(mtex, paf, pa->co, pa->no);
|
particle_tex(mtex, paf, pa->co, pa->no);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* keys */
|
if(paf->totkey>1) deltalife= pa->lifetime/(paf->totkey-1);
|
||||||
if(paf->totkey>1) {
|
else deltalife= pa->lifetime;
|
||||||
|
|
||||||
deltalife= pa->lifetime/(paf->totkey-1);
|
|
||||||
opa= pa;
|
opa= pa;
|
||||||
pa++;
|
pa++;
|
||||||
|
|
||||||
@@ -399,7 +398,6 @@ void make_particle_keys(int depth, int nr, PartEff *paf, Particle *part, float *
|
|||||||
pa++;
|
pa++;
|
||||||
/* opa wordt onderin ook gebruikt */
|
/* opa wordt onderin ook gebruikt */
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if(deform) {
|
if(deform) {
|
||||||
/* alle keys deformen */
|
/* alle keys deformen */
|
||||||
@@ -411,10 +409,11 @@ void make_particle_keys(int depth, int nr, PartEff *paf, Particle *part, float *
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* de grote vermenigvuldiging */
|
/* the big multiplication */
|
||||||
if(depth<PAF_MAXMULT && paf->mult[depth]!=0.0) {
|
if(depth<PAF_MAXMULT && paf->mult[depth]!=0.0) {
|
||||||
|
|
||||||
/* uit gemiddeld 'mult' deel van de particles ontstaan 'child' nieuwe */
|
/* new 'child' emerges from an average 'mult' part from
|
||||||
|
the particles */
|
||||||
damp = (float)nr;
|
damp = (float)nr;
|
||||||
rt1= (int)(damp*paf->mult[depth]);
|
rt1= (int)(damp*paf->mult[depth]);
|
||||||
rt2= (int)((damp+1.0)*paf->mult[depth]);
|
rt2= (int)((damp+1.0)*paf->mult[depth]);
|
||||||
|
Reference in New Issue
Block a user