Don't attempt to fill curve caps when the direction vector is invalid. This prevents the crash in #141612 however the root cause of that report isn't directly related to curve filling.
Don't attempt to fill curve caps when the direction vector is invalid. This prevents the crash in #141612 however the root cause of that report isn't directly related to curve filling.