Fix T81967: Crash when using extrude on a text object

Caused by rBa308607a5334, which mistakenly removed these lines.
This commit is contained in:
Hans Goudey 2020-10-22 12:20:34 -05:00
parent 383c20a6ab
commit 3953833b60
Notes: blender-bot 2023-02-14 10:21:15 +01:00
Referenced by issue #81967, Crash when using extrude on a text object
1 changed files with 3 additions and 0 deletions

View File

@ -607,6 +607,9 @@ static void bevels_to_filledpoly(Curve *cu, ListBase *dispbase)
float *fp, *fp1;
int a, dpoly;
BLI_listbase_clear(&front);
BLI_listbase_clear(&back);
LISTBASE_FOREACH (DispList *, dl, dispbase) {
if (dl->type == DL_SURF) {
if ((dl->flag & DL_CYCL_V) && (dl->flag & DL_CYCL_U) == 0) {