Initial Grease Pencil 3.0 stage #106848

Merged
Falk David merged 224 commits from filedescriptor/blender:grease-pencil-v3 into main 2023-05-30 11:14:22 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit fe51c411e1 - Show all commits

View File

@ -311,7 +311,7 @@ static void grease_pencil_batches_ensure(GreasePencil &grease_pencil, int cfra)
verts[v].mat = -1;
v++;
if (points.size() > 3) {
if (points.size() >= 3) {
num_triangles = points.size() - 2;
for (const int tri_i : IndexRange(num_triangles)) {
uint3 tri = drawing.runtime->triangles_cache[t + tri_i];