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:
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-rw-r--r--source/blender/blenkernel/intern/particle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index 89dadcd8dd5..e8af794eaea 100644
--- a/source/blender/blenkernel/intern/particle.c
+++ b/source/blender/blenkernel/intern/particle.c
@@ -97,8 +97,8 @@ int count_particles(ParticleSystem *psys)
int tot = 0;
LOOP_SHOWN_PARTICLES {
- if (pa->alive == PARS_UNBORN && (part->flag & PART_UNBORN) == 0) {}
- else if (pa->alive == PARS_DEAD && (part->flag & PART_DIED) == 0) {}
+ if (pa->alive == PARS_UNBORN && (part->flag & PART_UNBORN) == 0) ;
+ else if (pa->alive == PARS_DEAD && (part->flag & PART_DIED) == 0) ;
else tot++;
}
return tot;
@@ -110,8 +110,8 @@ int count_particles_mod(ParticleSystem *psys, int totgr, int cur)
int tot = 0;
LOOP_SHOWN_PARTICLES {
- if (pa->alive == PARS_UNBORN && (part->flag & PART_UNBORN) == 0) {}
- else if (pa->alive == PARS_DEAD && (part->flag & PART_DIED) == 0) {}
+ if (pa->alive == PARS_UNBORN && (part->flag & PART_UNBORN) == 0) ;
+ else if (pa->alive == PARS_DEAD && (part->flag & PART_DIED) == 0) ;
else if (p % totgr == cur) tot++;
}
return tot;