diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-21 09:08:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-21 09:09:32 +0300 |
commit | 391536ef1208ac536408ceead9e6219b2910edfd (patch) | |
tree | 59ce9ae8e7832ced6c6e9ebda82ff56c2cb35ecd | |
parent | 7a3474ddfd21742357ac934b31e82bd3bdefbb84 (diff) |
Fix missing edge in shape-to-wire utility
-rw-r--r-- | source/blender/gpu/intern/gpu_batch_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_batch_utils.c b/source/blender/gpu/intern/gpu_batch_utils.c index 0a7f1ca901d..13e615e120b 100644 --- a/source/blender/gpu/intern/gpu_batch_utils.c +++ b/source/blender/gpu/intern/gpu_batch_utils.c @@ -202,6 +202,7 @@ GPUBatch *GPU_batch_wire_from_poly_2d_encoded( i++; } } + *lines_step++ = lines[lines_len - 1]; lines_len = lines_step - lines; } |