diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 19:48:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 23:30:08 +0300 |
commit | 024d40b504e4dc2a23824021bdcfe772a1f5f670 (patch) | |
tree | 617778f8e70e0c39300ae8f27c30ca1d05124c18 /source/blender/makesrna/intern/rna_ui.c | |
parent | 66c3a7c5502815af082feee73165d144bee78fb1 (diff) |
Cleanup: comments (long lines) in makesrna
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_ui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_ui.c b/source/blender/makesrna/intern/rna_ui.c index dd378c60c72..faa16f4f146 100644 --- a/source/blender/makesrna/intern/rna_ui.c +++ b/source/blender/makesrna/intern/rna_ui.c @@ -496,8 +496,8 @@ static void uilist_filter_items(uiList *ui_list, memcpy(flt_data->items_filter_flags, filter_flags, sizeof(int) * len); if (filter_neworder) { - /* For sake of simplicity, py filtering is expected to filter all items, but we actually only want - * reordering data for shown items! + /* For sake of simplicity, py filtering is expected to filter all items, + * but we actually only want reordering data for shown items! */ int items_shown, shown_idx; int t_idx, t_ni, prev_ni; @@ -1405,8 +1405,8 @@ static void rna_def_uilist(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, NULL, "filter_flag", UILST_FLT_EXCLUDE); RNA_def_property_ui_text(prop, "Invert", "Invert filtering (show hidden items, and vice-versa)"); - /* WARNING: This is sort of an abuse, sort-by-alpha is actually a value, should even be an enum in full logic - * (of two values, sort by index and sort by name). + /* WARNING: This is sort of an abuse, sort-by-alpha is actually a value, + * should even be an enum in full logic (of two values, sort by index and sort by name). * But for default UIList, it's nicer (better UI-wise) to show this as a boolean bit-flag option, * avoids having to define custom setters/getters using UILST_FLT_SORT_MASK to mask out * actual bitflags on same var, etc. |