Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2020-02-03 19:40:03 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2020-02-03 20:35:29 +0300
commit3d6e7cd67c2dac8acbce585efed2fa34341f2676 (patch)
treeb4b4dcfe9cebfd01b71816a4955756feb3ae8d32 /source/blender/makesrna/intern/rna_particle.c
parent26ba7573e61e80de5f87967ba2e517972f689de7 (diff)
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.
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 36320be9270..a5852a30661 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -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,