diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-04 04:28:31 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-04 04:28:31 +0300 |
commit | cc8fa3ee909927c817b881b39f806b0753c80b86 (patch) | |
tree | 083d4f90a23912a151ddfed1f20c35ddbe1e9431 /build_files | |
parent | dfdc9c62199ebb77007a59aa8e57aba1cb6988de (diff) |
Fix T91904: Assert when loading empty CurveProfile
Somehow, the file from T71329 has an empty curve profile. While that may
be a problem in itself, it's reasonable to avoid asserts or crashes when
loading or drawing such a CurveProfile. This commit just makes sure the
table always has a single vertex, and adds some checks in drawing code.
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions