fix FS#1137 - segfault creating dashed spline (without addons)