Blender Git Loki

Git Commits -> Revision cc8fa3e

Revision cc8fa3e by Hans Goudey (master)
October 4, 2021, 01:28 (GMT)
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.

Commit Details:

Full Hash: cc8fa3ee909927c817b881b39f806b0753c80b86
Parent Commit: dfdc9c6
Lines Changed: +57, -45

2 Modified Paths:

/source/blender/blenkernel/intern/curveprofile.cc (+6, -2) (Diff)
/source/blender/editors/interface/interface_draw.c (+51, -43) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021