Cleanup: remove dead code from text wrapping logic

Error from original commit in 2005,
97df61a7e5.
This commit is contained in:
Campbell Barton 2022-02-24 12:53:11 +11:00
parent e83e7d49b6
commit d59f45fb15
1 changed files with 1 additions and 11 deletions

View File

@ -1018,17 +1018,7 @@ static bool vfont_to_curve(Object *ob,
dobreak = true;
break;
}
if (chartransdata[j].dobreak) {
// CLOG_WARN(&LOG, "word too long: %c%c%c...", mem[j], mem[j+1], mem[j+2]);
ct->dobreak = 1;
custrinfo[i + 1].flag |= CU_CHINFO_WRAP;
ct -= 1;
cnr -= 1;
i--;
xof = ct->xof;
dobreak = true;
break;
}
BLI_assert(chartransdata[j].dobreak == 0);
}
if (dobreak) {