Commit: 0df09c103424ec83e7493b68bf315358a9a65b6c
Author: Mateusz Grzeliński
Date:   Wed Aug 12 18:34:38 2020 +0200
Branches: soc-2020-info-editor
https://developer.blender.org/rB0df09c103424ec83e7493b68bf315358a9a65b6c

Convert assert to BLI_assert

plain assert breaks build

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

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 a3618e41e55..3c24a61d0fe 100644
--- a/source/blender/editors/space_info/textview.c
+++ b/source/blender/editors/space_info/textview.c
@@ -450,7 +450,7 @@ int textview_draw(TextViewContext *tvc,
 
       if (do_draw) {
         data_flag = tvc->line_draw_data(tvc, text_lines.first, fg, bg, &icon, 
icon_fg, icon_bg);
-        assert(data_flag & TVC_LINE_FG_SIMPLE || data_flag & 
TVC_LINE_FG_COMPLEX);
+        BLI_assert(data_flag & TVC_LINE_FG_SIMPLE || data_flag & 
TVC_LINE_FG_COMPLEX);
       }
 
       TextLine *text_line_iter = text_lines.last;

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

Reply via email to