diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-05 22:32:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-05 22:32:49 +0300 |
commit | 3c9e2e82fae35ae45c06c4ebc3c7db1775acc2d1 (patch) | |
tree | 9d24420d91ade94fdf4fea815a97d7b7f4ded097 /source/blender/draw/intern/draw_cache_impl_mesh.c | |
parent | 851829c1fb17e96be21bb13728a0034d7bca71e8 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_mesh.c')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_mesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.c b/source/blender/draw/intern/draw_cache_impl_mesh.c index fa78e143e98..53b3cadafe2 100644 --- a/source/blender/draw/intern/draw_cache_impl_mesh.c +++ b/source/blender/draw/intern/draw_cache_impl_mesh.c @@ -3438,8 +3438,8 @@ static Gwn_VertBuf *mesh_batch_cache_create_edges_overlay_adj_texture_buf(MeshRe GWN_vertbuf_attr_set(vbo, index_id, vidx++, &value); if (do_adjacency) { - int v1 = mloop[mlt->tri[(e+1) % 3]].v; - int v2 = mloop[mlt->tri[(e+2) % 3]].v; + int v1 = mloop[mlt->tri[(e + 1) % 3]].v; + int v2 = mloop[mlt->tri[(e + 2) % 3]].v; EdgeAdjacentVerts *eav = BLI_edgehash_lookup(eh, v0, v1); int adj_v; if (eav->vert_index[0] != v2) { |