diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-07 10:14:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-07 10:15:15 +0300 |
commit | 6483dee1412e1da79e84f5ae791ea94c7aff15bf (patch) | |
tree | 3963d652df7a07c730aa30cf7ed27c9398ad5ddf /source/blender/blenkernel/BKE_particle.h | |
parent | ffc4c126f5416b04a01653e7a03451797b98aba4 (diff) |
Cleanup: replace int with bool type
Diffstat (limited to 'source/blender/blenkernel/BKE_particle.h')
-rw-r--r-- | source/blender/blenkernel/BKE_particle.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_particle.h b/source/blender/blenkernel/BKE_particle.h index 9b262fa6131..e3d59599ab3 100644 --- a/source/blender/blenkernel/BKE_particle.h +++ b/source/blender/blenkernel/BKE_particle.h @@ -441,12 +441,12 @@ void psys_get_particle_on_path(struct ParticleSimulationData *sim, const bool vel); /** * Gets particle's state at a time. - * \return 1 if particle exists and can be seen and 0 if not. + * \return true if particle exists and can be seen and false if not. */ -int psys_get_particle_state(struct ParticleSimulationData *sim, - int p, - struct ParticleKey *state, - int always); +bool psys_get_particle_state(struct ParticleSimulationData *sim, + int p, + struct ParticleKey *state, + const bool always); /* Child paths. */ |