Cleanup: clang format for particle loop macros

See https://developer.blender.org/D5903

Reviewers: JacquesLucke
This commit is contained in:
2019-09-26 16:31:42 +02:00
parent b0d3ed3d20
commit 7ac581cb1b
3 changed files with 93 additions and 186 deletions

View File

@@ -1017,13 +1017,11 @@ static void copy_particle_edit(Depsgraph *depsgraph,
edit->points = MEM_dupallocN(edit_from->points);
pa = psys->particles;
LOOP_POINTS
{
LOOP_POINTS {
HairKey *hkey = pa->hair;
point->keys = MEM_dupallocN(point->keys);
LOOP_KEYS
{
LOOP_KEYS {
key->co = hkey->co;
key->time = &hkey->time;
key->flag = hkey->editflag;