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-27 00:00:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-27 00:01:54 +0300
commitfb262f942e44f86931f3519383da9ad350733afb (patch)
treee56902d5c8f029c1985c849c4a70c6d6ca668ca9 /source/blender/draw/intern/draw_cache_impl_particles.c
parent0b0322099ccb99833e52196b46c144886b94428c (diff)
Cleanup: style, includes
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_particles.c')
-rw-r--r--source/blender/draw/intern/draw_cache_impl_particles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_particles.c b/source/blender/draw/intern/draw_cache_impl_particles.c
index 46ce115c382..c8185c2db60 100644
--- a/source/blender/draw/intern/draw_cache_impl_particles.c
+++ b/source/blender/draw/intern/draw_cache_impl_particles.c
@@ -687,7 +687,7 @@ static float particle_key_select_ratio(const PTCacheEdit *edit, int strand, floa
int index = (int)interp;
interp -= floorf(interp); /* Time between 2 edit key */
float s1 = (point->keys[index].flag & PEK_SELECT) ? 1.0f : 0.0;
- float s2 = (point->keys[index+1].flag & PEK_SELECT) ? 1.0f : 0.0;
+ float s2 = (point->keys[index + 1].flag & PEK_SELECT) ? 1.0f : 0.0;
return s1 + interp * (s2 - s1);
}
}
@@ -697,7 +697,7 @@ static int particle_batch_cache_fill_segments_edit(
ParticleCacheKey **path_cache,
const int start_index,
const int num_path_keys,
- GPUIndexBufBuilder *elb,
+ GPUIndexBufBuilder *elb,
GPUVertBufRaw *attr_step)
{
int curr_point = start_index;