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-09-21 09:08:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-21 09:09:32 +0300
commit391536ef1208ac536408ceead9e6219b2910edfd (patch)
tree59ce9ae8e7832ced6c6e9ebda82ff56c2cb35ecd /source/blender/gpu/intern/gpu_batch_utils.c
parent7a3474ddfd21742357ac934b31e82bd3bdefbb84 (diff)
Fix missing edge in shape-to-wire utility
Diffstat (limited to 'source/blender/gpu/intern/gpu_batch_utils.c')
-rw-r--r--source/blender/gpu/intern/gpu_batch_utils.c1
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;
}