diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-02-14 22:24:13 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-02-18 16:17:57 +0300 |
commit | 9ab99ff26b57b2f0c898356d365636697d67e345 (patch) | |
tree | ec792dde760c6af0346693a161a34c3c44a0a123 /source/blender/draw/modes/sculpt_mode.c | |
parent | 2cccffd20b67beecb5743e8871dbda779d1e03f1 (diff) |
Sculpt Draw: Add support for wireframe geometry
This introduce the wireframe batches. Creating the indices buffer does
not seems to slow down the sculpt in my testing (but it is kind of hard to
test reliably)
This includes a bit of cleanup in gpu_buffers.c.
Diffstat (limited to 'source/blender/draw/modes/sculpt_mode.c')
-rw-r--r-- | source/blender/draw/modes/sculpt_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/sculpt_mode.c b/source/blender/draw/modes/sculpt_mode.c index 76312942613..546270f8a18 100644 --- a/source/blender/draw/modes/sculpt_mode.c +++ b/source/blender/draw/modes/sculpt_mode.c @@ -177,7 +177,7 @@ static void sculpt_draw_mask_cb( if (pbvh) { BKE_pbvh_draw_cb( - pbvh, NULL, NULL, false, true, + pbvh, NULL, NULL, false, false, true, (void (*)(void *, struct GPUBatch *))draw_fn, shgroup); } } |