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:
authorCampbell Barton <ideasman42@gmail.com>2019-12-17 00:58:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-17 00:58:43 +0300
commit831b85efb2f83927e41b938f49ae4d2d5f42d720 (patch)
tree20dc0c11d9256a1a56e77b728ac2b90cebeee777 /source/blender/editors/interface/interface_templates.c
parent4f1abcb06f94be97d2e2ca44c7799fb2cdc4369c (diff)
Cleanup: clang-format
Diffstat (limited to 'source/blender/editors/interface/interface_templates.c')
-rw-r--r--source/blender/editors/interface/interface_templates.c9
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;
}
}