Fix T52860: 3D Text crashes w/ Ctrl Backspace

This commit is contained in:
Campbell Barton 2017-09-21 19:14:04 +10:00 committed by Bastien Montagne
parent 4c3e2518c8
commit b969f7eb55
1 changed files with 1 additions and 0 deletions

View File

@ -1201,6 +1201,7 @@ static int delete_exec(bContext *C, wmOperator *op)
case DEL_ALL:
ef->len = ef->pos = 0;
ef->textbuf[0] = 0;
BKE_vfont_select_clamp(obedit);
break;
case DEL_SELECTION:
if (!kill_selection(obedit, 0))