diff options
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_mesh.c')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.c b/source/blender/draw/intern/draw_cache_impl_mesh.c index e8612a4bd3e..d4e5027dcb2 100644 --- a/source/blender/draw/intern/draw_cache_impl_mesh.c +++ b/source/blender/draw/intern/draw_cache_impl_mesh.c @@ -4240,7 +4240,7 @@ static void mesh_create_edit_loops_points_lines(MeshRenderData *rdata, GPUIndexB /* Loose verts */ if (ibo_verts) { for (i = 0; i < lvert_len; ++i) { - int vidx = v_origindex[rdata->mapped.loose_edges[i]]; + int vidx = v_origindex[rdata->mapped.loose_verts[i]]; if (vidx != ORIGINDEX_NONE) { GPU_indexbuf_add_generic_vert(&elb_vert, loop_idx); } |