diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-08 07:01:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-08 07:01:47 +0300 |
commit | 1ddfd8c9ec1d61fa62dfe6adb37c4789476bc4e6 (patch) | |
tree | 3ddc03a5a1b81975fb69619faa415a461f9091eb /source/blender/modifiers/intern/MOD_particleinstance.c | |
parent | 0fe5a789837394d54c1a7570ef1e46c8ab3b0830 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/modifiers/intern/MOD_particleinstance.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_particleinstance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_particleinstance.c b/source/blender/modifiers/intern/MOD_particleinstance.c index db552fa2122..0a5b34c90ee 100644 --- a/source/blender/modifiers/intern/MOD_particleinstance.c +++ b/source/blender/modifiers/intern/MOD_particleinstance.c @@ -499,7 +499,7 @@ static Mesh *applyModifier( const int ml_index = (ml - mloop); if (mloopcols_index != NULL) { const int part_index = vert_part_index[ml->v]; - store_float_in_vcol(&mloopcols_index[ml_index], (float)part_index / (float)(psys->totpart-1)); + store_float_in_vcol(&mloopcols_index[ml_index], (float)part_index / (float)(psys->totpart - 1)); } if (mloopcols_value != NULL) { const float part_value = vert_part_value[ml->v]; |