[Bf-blender-cvs] [0df09c10342] soc-2020-info-editor: Convert assert to BLI_assert
Mateusz GrzeliÅski
noreply at git.blender.org
Wed Aug 12 18:35:03 CEST 2020
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;
More information about the Bf-blender-cvs
mailing list