Fix segfault in case we don't have any bezier curves
This commit is contained in:
parent
81e8aa0552
commit
a1be0803a6
@ -289,7 +289,7 @@ static void assemble_HE_stage1(obj_items const * const raw_obj,
|
|||||||
vc++;
|
vc++;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (raw_obj->bez[bzc]) {
|
while (raw_obj->bez && raw_obj->bez[bzc]) {
|
||||||
uint32_t i = 0;
|
uint32_t i = 0;
|
||||||
vector *bez_vec = NULL;
|
vector *bez_vec = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user