diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-17 00:58:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-17 00:58:43 +0300 |
commit | 831b85efb2f83927e41b938f49ae4d2d5f42d720 (patch) | |
tree | 20dc0c11d9256a1a56e77b728ac2b90cebeee777 /source/blender/editors/interface | |
parent | 4f1abcb06f94be97d2e2ca44c7799fb2cdc4369c (diff) |
Cleanup: clang-format
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index de37219e009..2c93f35e02a 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -1820,12 +1820,9 @@ static int modifier_can_delete(ModifierData *md) /* fluid particle modifier can't be deleted here */ if (md->type == eModifierType_ParticleSystem) { short particle_type = ((ParticleSystemModifierData *)md)->psys->part->type; - if (particle_type == PART_FLUID || - particle_type == PART_FLUID_FLIP || - particle_type == PART_FLUID_FOAM || - particle_type == PART_FLUID_SPRAY || - particle_type == PART_FLUID_BUBBLE || - particle_type == PART_FLUID_BUBBLE) { + if (particle_type == PART_FLUID || particle_type == PART_FLUID_FLIP || + particle_type == PART_FLUID_FOAM || particle_type == PART_FLUID_SPRAY || + particle_type == PART_FLUID_BUBBLE || particle_type == PART_FLUID_BUBBLE) { return 0; } } |