forked from bartvdbraak/blender
baked fcurves would crash on deleting in the graph editor
This commit is contained in:
parent
74faed26fc
commit
58bf4b1ab5
@ -100,6 +100,9 @@ void delete_fcurve_keys(FCurve *fcu)
|
||||
{
|
||||
int i;
|
||||
|
||||
if(fcu->bezt==NULL) /* ignore baked curves */
|
||||
return;
|
||||
|
||||
/* Delete selected BezTriples */
|
||||
for (i=0; i < fcu->totvert; i++) {
|
||||
if (fcu->bezt[i].f2 & SELECT) {
|
||||
|
Loading…
Reference in New Issue
Block a user