diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-16 19:13:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-16 19:13:48 +0300 |
commit | eb6fe5fa94b86a0a20742e06bf1e68b4cbaf6693 (patch) | |
tree | ce52b7a9a8941912152cc3bf7d07fb2a429b5d0d /source/blender/editors/physics/particle_object.c | |
parent | 95eb9f22e69622c5817707fa9534521613e7d7cc (diff) |
Cleanup: indentation
Diffstat (limited to 'source/blender/editors/physics/particle_object.c')
-rw-r--r-- | source/blender/editors/physics/particle_object.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c index 53a70abca05..546fac6b7a3 100644 --- a/source/blender/editors/physics/particle_object.c +++ b/source/blender/editors/physics/particle_object.c @@ -705,8 +705,8 @@ static bool remap_hair_emitter(Scene *scene, Object *ob, ParticleSystem *psys, for (i = 0, tpa = target_psys->particles, pa = psys->particles; i < target_psys->totpart; - i++, tpa++, pa++) { - + i++, tpa++, pa++) + { float from_co[3]; BVHTreeNearest nearest; @@ -1004,8 +1004,8 @@ static bool copy_particle_systems_to_object(Main *bmain, cdmask = 0; for (psys_from = PSYS_FROM_FIRST, i = 0; psys_from; - psys_from = PSYS_FROM_NEXT(psys_from), ++i) { - + psys_from = PSYS_FROM_NEXT(psys_from), ++i) + { psys = BKE_object_copy_particlesystem(psys_from, 0); tmp_psys[i] = psys; @@ -1025,8 +1025,8 @@ static bool copy_particle_systems_to_object(Main *bmain, /* now append psys to the object and make modifiers */ for (i = 0, psys_from = PSYS_FROM_FIRST; i < totpsys; - ++i, psys_from = PSYS_FROM_NEXT(psys_from)) { - + ++i, psys_from = PSYS_FROM_NEXT(psys_from)) + { ParticleSystemModifierData *psmd; psys = tmp_psys[i]; @@ -1063,8 +1063,8 @@ static bool copy_particle_systems_to_object(Main *bmain, */ for (psys = psys_start, psys_from = PSYS_FROM_FIRST, i = 0; psys; - psys = psys->next, psys_from = PSYS_FROM_NEXT(psys_from), ++i) { - + psys = psys->next, psys_from = PSYS_FROM_NEXT(psys_from), ++i) + { float (*from_mat)[4], (*to_mat)[4]; switch (space) { |