Code

replace some spcurve->last_bpath calls with spcurve->is_empty