diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-13 05:15:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-13 05:15:22 +0300 |
commit | bc584258626249a005a518661aabe080ec25f276 (patch) | |
tree | b0a967d8abec8fadd9bfe51176e60f23162b2fc9 /source/blender/makesrna | |
parent | b9e02eace69ebc003f3598b0ba1bf0682f21c411 (diff) |
Cleanup: clang-format, trailing space
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index bc9eda3cb5f..05d7af6d436 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -412,17 +412,17 @@ static void rna_Particle_uv_on_emitter(ParticleData *particle, /* get uvco */ if (r_uv && ELEM(from, PART_FROM_FACE, PART_FROM_VOLUME) && !ELEM(num, DMCACHE_NOTFOUND, DMCACHE_ISCHILD)) { - MFace *mface; - MTFace *mtface; + MFace *mface; + MTFace *mtface; - mface = modifier->mesh_final->mface; - mtface = modifier->mesh_final->mtface; + mface = modifier->mesh_final->mface; + mtface = modifier->mesh_final->mtface; - if (mface && mtface) { - mtface += num; - psys_interpolate_uvs(mtface, mface->v4, particle->fuv, r_uv); - return; - } + if (mface && mtface) { + mtface += num; + psys_interpolate_uvs(mtface, mface->v4, particle->fuv, r_uv); + return; + } } r_uv[0] = 0.0f; |