Fix Cycles particle hair rendering broken after recent changes
This code was already wrong, we were just lucky that the previous coordinate was repeated due to using the same memory location.
This commit is contained in:
@@ -400,7 +400,6 @@ static void rna_ParticleSystem_co_hair(
|
||||
}
|
||||
}
|
||||
else {
|
||||
zero_v3(n_co);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -410,9 +409,6 @@ static void rna_ParticleSystem_co_hair(
|
||||
mul_m4_v3(particlesystem->imat, n_co);
|
||||
mul_m4_v3(object->obmat, n_co);
|
||||
}
|
||||
else {
|
||||
zero_v3(n_co);
|
||||
}
|
||||
}
|
||||
|
||||
static const EnumPropertyItem *rna_Particle_Material_itemf(bContext *C,
|
||||
|
||||
Reference in New Issue
Block a user