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 <campbell@blender.org>2022-04-26 07:25:58 +0300
committerCampbell Barton <campbell@blender.org>2022-04-26 07:25:58 +0300
commit6d12bc9e918d47f39135750f9d99f901f88efc44 (patch)
tree752020c03cecc7a447eb9878601ee79527e957aa /source/blender/blenkernel/intern/particle.c
parenta9d1b3d7e3e9fa52c811d9807c8a26aa1c64b327 (diff)
Cleanup: use boolean arguments and return values
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-rw-r--r--source/blender/blenkernel/intern/particle.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index cc4738b1faa..bbb08155bfc 100644
--- a/source/blender/blenkernel/intern/particle.c
+++ b/source/blender/blenkernel/intern/particle.c
@@ -2390,12 +2390,12 @@ void precalc_guides(ParticleSimulationData *sim, ListBase *effectors)
}
}
-int do_guides(Depsgraph *depsgraph,
- ParticleSettings *part,
- ListBase *effectors,
- ParticleKey *state,
- int index,
- float time)
+bool do_guides(Depsgraph *depsgraph,
+ ParticleSettings *part,
+ ListBase *effectors,
+ ParticleKey *state,
+ int index,
+ float time)
{
CurveMapping *clumpcurve = (part->child_flag & PART_CHILD_USE_CLUMP_CURVE) ? part->clumpcurve :
NULL;