Fix T52860: 3D Text crashes w/ Ctrl Backspace

This commit is contained in:
Campbell Barton 2017-09-21 19:14:04 +10:00
parent 50b9d1d019
commit 806bc55a34

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