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-03-25 04:04:21 +0300
committerCampbell Barton <campbell@blender.org>2022-03-25 04:10:21 +0300
commit7d1d9e601503fb7e921c935524fec1469363c121 (patch)
treed19dcbbcf9ada051ff3ec629c397ddca23eb2b55 /source/blender/makesdna/DNA_particle_defaults.h
parent4d46fac65d9946382c4be5b3842660e77468f00b (diff)
Cleanup: rename ParticleSettings.child_nbr => child_percent
child_nbr was used as a percentage as well as the final number of particles. Rename to avoid confusion.
Diffstat (limited to 'source/blender/makesdna/DNA_particle_defaults.h')
-rw-r--r--source/blender/makesdna/DNA_particle_defaults.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_particle_defaults.h b/source/blender/makesdna/DNA_particle_defaults.h
index 138aa6f1f98..108252a5e6c 100644
--- a/source/blender/makesdna/DNA_particle_defaults.h
+++ b/source/blender/makesdna/DNA_particle_defaults.h
@@ -56,8 +56,8 @@
.rotmode = PART_ROT_VEL, \
.avemode = PART_AVE_VELOCITY, \
\
- .child_nbr = 10, \
- .ren_child_nbr = 100, \
+ .child_percent = 10, \
+ .child_render_percent = 100, \
.childrad = 0.2f, \
.childflat = 0.0f, \
.clumppow = 0.0f, \