GPUBuffers: Fix wrong assert
For good this time... forgot to commit it in the previous commit rBedde48f57844.
This commit is contained in:
parent
f32902e6da
commit
d10205c1a7
|
@ -162,7 +162,6 @@ static void gpu_pbvh_batch_init(GPU_PBVH_Buffers *buffers, GPUPrimType prim)
|
|||
}
|
||||
|
||||
if (buffers->lines == NULL) {
|
||||
BLI_assert(buffers->index_lines_buf != NULL);
|
||||
buffers->lines = GPU_batch_create(GPU_PRIM_LINES,
|
||||
buffers->vert_buf,
|
||||
/* can be NULL if buffer is empty */
|
||||
|
|
Loading…
Reference in New Issue