Merge branch 'blender-v2.83-release'

This commit is contained in:
Campbell Barton 2020-05-21 12:59:51 +10:00
commit 8ecfa6a828
1 changed files with 5 additions and 0 deletions

View File

@ -429,6 +429,11 @@ int textview_draw(TextViewContext *tvc,
tvc->end(tvc);
/* Sanity checks (bugs here can be tricky to track down). */
BLI_assert(tds.lheight == tvc->lheight);
BLI_assert(tds.row_vpadding == tvc->row_vpadding);
BLI_assert(tds.do_draw == do_draw);
xy[1] += tvc->lheight * 2;
return xy[1] - y_orig;