Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-05-21 05:59:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-21 05:59:51 +0300
commit8ecfa6a8285c559c73e4d2afb57dd25d4c24b022 (patch)
tree5a7ae74eff00033808b6e3f61c10c7e29a95ed5e /source/blender/editors/space_info
parent8a0840b0ee9a60a62bf6d1f800d08bf852427fd5 (diff)
parent522e6c0c06197a2fe46810c4f77ddba881f12cbf (diff)
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r--source/blender/editors/space_info/textview.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c
index 3c0ef4a6386..5d5c41597b4 100644
--- a/source/blender/editors/space_info/textview.c
+++ b/source/blender/editors/space_info/textview.c
@@ -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;