Commit: 2f6e9cb4fd9fc8fee7d9820c8634972ad1e2b2f3
Author: Campbell Barton
Date:   Tue Nov 18 13:41:40 2014 +0100
Branches: master
https://developer.blender.org/rB2f6e9cb4fd9fc8fee7d9820c8634972ad1e2b2f3

Fix for console & info clipping text too early

D845 from @donfabio

===================================================================

M       source/blender/editors/space_info/textview.c

===================================================================

diff --git a/source/blender/editors/space_info/textview.c 
b/source/blender/editors/space_info/textview.c
index 33333e4..ebce133 100644
--- a/source/blender/editors/space_info/textview.c
+++ b/source/blender/editors/space_info/textview.c
@@ -155,7 +155,7 @@ static int console_draw_string(ConsoleDrawContext *cdc, 
const char *str, int str
                MEM_freeN(offsets);
                return 1;
        }
-       else if (y_next - cdc->lheight < cdc->ymin) {
+       else if (y_next < cdc->ymin) {
                /* have not reached the drawable area so don't break */
                cdc->xy[1] = y_next;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to