Fix T90742: Gpencil ghost point on selection
Reviewed By: fclem, filedescriptor Maniphest Tasks: T90742 Differential Revision: https://developer.blender.org/D12259
This commit is contained in:
parent
9ad56627cf
commit
e76f04c870
Notes:
blender-bot
2023-02-14 09:02:40 +01:00
Referenced by issue #90742, GPencil: Ghost point on selection
|
@ -446,6 +446,8 @@ static void gpencil_batches_ensure(Object *ob, GpencilBatchCache *cache, int cfr
|
|||
for (int i = 0; i < 2; i++) {
|
||||
iter.verts[iter.vert_len + i].mat = -1;
|
||||
}
|
||||
/* Also mark first vert as invalid. */
|
||||
iter.verts[0].mat = -1;
|
||||
|
||||
/* Finish the IBO. */
|
||||
cache->ibo = GPU_indexbuf_build(&iter.ibo);
|
||||
|
|
Loading…
Reference in New Issue