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 <ideasman42@gmail.com>2018-11-28 03:18:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-28 03:24:45 +0300
commit36da85ebeb0821584fc478a3896834fe7d1e621c (patch)
treefcf71a88b1eae519fd6d8d1dbe09b011d1270013 /source/blender/draw/intern
parent37b882982af6dfd8a235e5816431e4fb76e1ba9a (diff)
Cleanup: style
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r--source/blender/draw/intern/draw_cache_impl_particles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_particles.c b/source/blender/draw/intern/draw_cache_impl_particles.c
index 5a5f0ea0b3a..d83f8fb660b 100644
--- a/source/blender/draw/intern/draw_cache_impl_particles.c
+++ b/source/blender/draw/intern/draw_cache_impl_particles.c
@@ -706,7 +706,7 @@ static float particle_key_weight(const ParticleData *particle, int strand, float
int index = (int)interp;
interp -= floorf(interp); /* Time between 2 edit key */
float s1 = hkeys[index].weight;
- float s2 = hkeys[index+1].weight;
+ float s2 = hkeys[index + 1].weight;
return s1 + interp * (s2 - s1);
}
}