Blender Git Loki
Git Commits -> Revision 4ae0504
Revision 4ae0504 by Hans Goudey (soc-2021-curves) June 21, 2021, 14:31 (GMT) |
Spreadsheet Editor: Row Filters This patch adds support for filtering rows based on rules and values. Filters will work for any attribute data source, they are a property of the spreadsheet rather than of the attribute system. The properties displayed in the row filter can depend on data type of the currently visible column with that name. If the name is no longer visible, the row filter filter is grayed out, but it will remember the value until a column with its name is visible again. Note: The comments in `screen.c` combined with tagging the sidebar for redraw after the main region point to a lack of understanding or technical debt, that is a point to improve in the future. **Future Improvements** * T89272: A search menu for visible columns when adding a new filter. * T89273: Possibly a "Range" operation. Differential Revision: https://developer.blender.org/D10959 |
Commit Details:
Full Hash: 4ae05040ca1b4e6c68500358174e567bb68f5a83
Parent Commit: 8460a1f
Committed By: Dilith Jayakody
Lines Changed: +1381, -88
4 Added Paths:
/source/blender/editors/space_spreadsheet/spreadsheet_row_filter.cc (+366, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_row_filter.hh (+35, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_row_filter_ui.cc (+347, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_row_filter_ui.hh (+21, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_row_filter.hh (+35, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_row_filter_ui.cc (+347, -0) (View)
/source/blender/editors/space_spreadsheet/spreadsheet_row_filter_ui.hh (+21, -0) (View)
21 Modified Paths:
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+17, -0) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+18, -0) (Diff)
/release/scripts/startup/bl_ui/space_spreadsheet.py (+17, -3) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/screen.c (+18, -2) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+46, -11) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+5, -0) (Diff)
/source/blender/editors/space_spreadsheet/CMakeLists.txt (+5, -0) (Diff)
/source/blender/editors/space_spreadsheet/space_spreadsheet.cc (+74, -18) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_column.cc (+13, -0) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_column.hh (+3, -0) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_column_values.hh (+18, -5) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source.hh (+9, -0) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc (+77, -45) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.hh (+2, -1) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_ops.cc (+75, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+62, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+148, -1) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+18, -0) (Diff)
/release/scripts/startup/bl_ui/space_spreadsheet.py (+17, -3) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/screen.c (+18, -2) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+46, -11) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+5, -0) (Diff)
/source/blender/editors/space_spreadsheet/CMakeLists.txt (+5, -0) (Diff)
/source/blender/editors/space_spreadsheet/space_spreadsheet.cc (+74, -18) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_column.cc (+13, -0) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_column.hh (+3, -0) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_column_values.hh (+18, -5) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source.hh (+9, -0) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc (+77, -45) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.hh (+2, -1) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_ops.cc (+75, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+62, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+148, -1) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)