Fix crash removing the last point of a spline with the new pen tool
This commit is contained in:
parent
e26cc6aee3
commit
0cb9926cd9
|
@ -1299,6 +1299,7 @@ static bool delete_point_under_mouse(ViewContext *vc, const wmEvent *event)
|
|||
|
||||
if (nu->pntsu == 0) {
|
||||
delete_nurb(cu, nu);
|
||||
nu = NULL;
|
||||
}
|
||||
deleted = true;
|
||||
cu->actvert = CU_ACT_NONE;
|
||||
|
|
Loading…
Reference in New Issue