Commit: 81cc33e437f8b0407b589bbc5a39ac262e116160
Author: Mateusz Grzeliński
Date: Fri Aug 14 09:40:19 2020 +0200
Branches: soc-2020-info-editor
https://developer.blender.org/rB81cc33e437f8b0407b589bbc5a39ac262e116160
Fix refactoring errors
===================================================================
M source/blender/editors/space_info/info_report.c
===================================================================
diff --git a/source/blender/editors/space_info/info_report.c
b/source/blender/editors/space_info/info_report.c
index 99783c80802..8415e83240f 100644
--- a/source/blender/editors/space_info/info_report.c
+++ b/source/blender/editors/space_info/info_report.c
@@ -192,7 +192,7 @@ static int select_report_pick_exec(bContext *C, wmOperator
*op)
Report *report = BLI_findlink(&reports->list, report_index);
if (report_index == INDEX_INVALID) { // click in empty area
- reports_select_all(reports, sinfo, 0);
+ reports_select_all(reports, sinfo, SEL_DESELECT);
info_area_tag_redraw(C);
return OPERATOR_FINISHED;
}
@@ -233,7 +233,7 @@ static int select_report_pick_exec(bContext *C, wmOperator
*op)
return OPERATOR_FINISHED;
}
else {
- reports_select_all(reports, sinfo, 0);
+ reports_select_all(reports, sinfo, SEL_DESELECT);
report->flag |= RPT_SELECT;
sinfo->active_index = report_index;
info_area_tag_redraw(C);
@@ -365,7 +365,7 @@ static int box_select_exec(bContext *C, wmOperator *op)
report_max = info_text_pick(sinfo, region, reports, rect.ymin);
if (report_min == NULL && report_max == NULL) {
- reports_select_all(reports, sinfo, 0);
+ reports_select_all(reports, sinfo, SEL_DESELECT);
}
else {
/* get the first report if none found */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs