tornavis/source/blender/makesdna
Hans Goudey 474adc6f88 Refactor: Simplify spreadsheet handling of cell values
Previously we used a `CellValue` class to hold the data for a cell,
and called a function to fill it whenever necessary. This is an
unnecessary complication when we have virtual generic arrays
and most data is already easily accessible that way anyway.
This patch removes `CellValue` and uses `fn::GVArray` to provide
access to data instead.

In the future, if rows have different types within a single column,
we can use a `GVArray` of `blender::Any` to interface with the drawing.

Along with that, the use of virtual arrays made it easy to do a
few other cleanups:
 - Use selection domain interpolations from rB5841f8656d95
   for the mesh selection filter.
 - Change the row filter to only calculate for necessary indices.

Differential Revision: https://developer.blender.org/D13478
2021-12-15 09:34:13 -06:00
..
intern Cleanup: clang-format 2021-12-14 09:42:44 +11:00
CMakeLists.txt
DNA_ID.h Assets: Sanitize threaded preview creation with undo 2021-11-24 11:26:37 +01:00
DNA_ID_enums.h Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
DNA_action_types.h Animation: allow marking actions as cyclic for Cycle-Aware Keying. 2021-11-24 15:58:32 +03:00
DNA_anim_types.h Cleanup: remove deprecated flag use in collada 2021-08-26 12:36:58 +10:00
DNA_armature_defaults.h
DNA_armature_types.h Cleanup: use C style comments for descriptive text 2021-08-26 12:36:58 +10:00
DNA_asset_defaults.h Assets: Add an active asset library per workspace, for the UI to use 2021-07-15 16:12:36 +02:00
DNA_asset_types.h Assets: Snapping with visual feedback while dragging 2021-10-25 11:57:26 -03:00
DNA_boid_types.h Cleanup: full sentences in comments, improve comment formatting 2021-06-26 21:50:48 +10:00
DNA_brush_defaults.h Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
DNA_brush_enums.h Fix T91159: GPencil Smooth brush is using Affect Pressure but not used 2021-09-03 12:42:18 +02:00
DNA_brush_types.h GPencil: New Brush option to define Caps type 2021-08-04 15:54:54 +02:00
DNA_cachefile_defaults.h Alembic Procedural: basic cache control settings 2021-08-20 14:34:43 +02:00
DNA_cachefile_types.h Alembic Procedural: basic cache control settings 2021-08-20 14:34:43 +02:00
DNA_camera_defaults.h
DNA_camera_types.h Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
DNA_cloth_types.h Cleanup: spelling in comments 2021-09-24 11:31:23 +10:00
DNA_collection_defaults.h
DNA_collection_types.h Cleanup: rename restrict to hide/visibility in Object, Collection, MaskLayer 2021-08-04 19:18:34 +02:00
DNA_color_types.h Cleanup: use doxygen comments for DNA_color_types 2021-06-15 09:34:58 +10:00
DNA_constraint_types.h Cleanup: spelling in comments, comment block formatting 2021-11-13 13:07:13 +11:00
DNA_curve_defaults.h Cleanup: Rename curve struct fields 2021-12-01 22:01:35 -05:00
DNA_curve_types.h Cleanup: Remove unused curve types from enum 2021-12-13 15:13:47 -06:00
DNA_curveprofile_types.h Cleanup: Replace macro with function 2021-10-03 18:54:52 -05:00
DNA_customdata_types.h Hair Info Length Attribute 2021-09-24 07:44:22 +02:00
DNA_defaults.h Cleanup: Use int8 type rather than char for buffer 2021-12-01 12:19:43 +01:00
DNA_defs.h Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX 2021-07-04 00:43:40 +10:00
DNA_documentation.h Cleanup: use single back-tick quoting in comments 2021-07-20 22:58:14 +10:00
DNA_dynamicpaint_types.h Cleanup: Spelling Mistakes 2021-06-22 10:54:50 -07:00
DNA_effect_types.h Cleanup: spelling in comments & strings 2021-11-30 10:15:17 +11:00
DNA_fileglobal_types.h Cleanup: use "filepath" term for Main, BlendFileData & FileGlobal 2021-12-13 16:22:19 +11:00
DNA_fluid_defaults.h Modifiers: export motion blur velocity through attribute 2021-09-10 16:48:30 +02:00
DNA_fluid_types.h Cleanup: fix typos in comments and docs 2021-11-19 12:46:49 +01:00
DNA_freestyle_types.h UI: Freestyle UI Upgrade 2021-09-13 10:37:50 -04:00
DNA_genfile.h Cleanup: move public doc-strings into headers for 'makesdna' 2021-12-08 17:12:39 +11:00
DNA_gpencil_modifier_defaults.h GPencil: Add randomize options to Length modifier 2021-12-13 17:14:44 +01:00
DNA_gpencil_modifier_types.h GPencil: Add randomize options to Length modifier 2021-12-13 17:14:44 +01:00
DNA_gpencil_types.h LineArt: Smooth tolerance value for chaining. 2021-09-26 19:43:12 +08:00
DNA_gpu_types.h Cleanup: spelling in comments 2021-10-18 12:13:10 +11:00
DNA_hair_defaults.h
DNA_hair_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_image_defaults.h
DNA_image_types.h Merge branch 'blender-v3.0-release' 2021-11-02 11:17:53 +01:00
DNA_ipo_types.h Cleanup: comment spelling & punctuation 2021-07-27 18:06:29 +10:00
DNA_key_types.h Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
DNA_lattice_defaults.h
DNA_lattice_types.h Refactor: Move vertex group names to object data 2021-07-13 12:10:34 -04:00
DNA_layer_types.h Fix T92442: undo removal of Eevee cryptomatte accurate mode option 2021-11-18 15:59:08 +01:00
DNA_light_defaults.h Cycles: add a spread setting for area lights 2021-04-01 12:31:01 +02:00
DNA_light_types.h Cleanup: code comments punctuation / spacing 2021-07-23 17:03:51 +10:00
DNA_lightprobe_defaults.h
DNA_lightprobe_types.h Cleanup: fix typos in comments and docs 2021-11-19 12:46:49 +01:00
DNA_lineart_types.h LineArt: Trimming edges right at the image border 2021-10-27 00:10:49 +08:00
DNA_linestyle_defaults.h
DNA_linestyle_types.h Cleanup: comment spelling & punctuation 2021-07-27 18:06:29 +10:00
DNA_listBase.h
DNA_mask_types.h Cleanup: rename restrict to hide/visibility in Object, Collection, MaskLayer 2021-08-04 19:18:34 +02:00
DNA_material_defaults.h LineArt: UI cleanups. 2021-07-20 13:06:45 +08:00
DNA_material_types.h Cleanup: use named enum types. 2021-07-21 08:18:34 +02:00
DNA_mesh_defaults.h Fix T84520: Make the different weight paint code paths exclusive to each other 2021-04-02 14:44:26 +02:00
DNA_mesh_types.h Cleanup/Docs: Add comments to Mesh header, rearrange fields 2021-12-10 10:42:28 -06:00
DNA_meshdata_types.h Cleanup/Docs: Add comments to Mesh header, rearrange fields 2021-12-10 10:42:28 -06:00
DNA_meta_defaults.h
DNA_meta_types.h Cleanup/Docs: Add comments to Mesh header, rearrange fields 2021-12-10 10:42:28 -06:00
DNA_modifier_defaults.h Fix T91444: Edge Loop Preview fails with two Mirror Modifiers 2021-11-25 10:21:49 +01:00
DNA_modifier_types.h Fix T91444: Edge Loop Preview fails with two Mirror Modifiers 2021-11-25 10:21:49 +01:00
DNA_movieclip_defaults.h FFmpeg: Adjust default proxy settings 2021-04-14 14:25:34 +02:00
DNA_movieclip_types.h Cleanup: Use more clear field name 2021-02-22 16:30:04 +01:00
DNA_nla_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_node_types.h Nodes: Add vector support to Map Range node 2021-12-14 18:27:01 +00:00
DNA_object_defaults.h Grease Pencil: Add LineArt modifier 2021-03-16 19:59:09 +01:00
DNA_object_enums.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_object_fluidsim_types.h Cleanup: full sentences in comments, improve comment formatting 2021-06-26 21:50:48 +10:00
DNA_object_force_types.h Cleanup: Move object.c to C++ 2021-11-04 16:51:37 -03:00
DNA_object_types.h Cleanup: spelling in comments, comment block formatting 2021-11-13 13:07:13 +11:00
DNA_outliner_types.h Cleanup: spelling in comments & strings 2021-11-30 10:15:17 +11:00
DNA_packedFile_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_particle_defaults.h
DNA_particle_types.h Cleanup: spelling in comments 2021-07-07 13:42:46 +10:00
DNA_pointcache_types.h Cleanup: spelling in comments & strings 2021-11-30 10:15:17 +11:00
DNA_pointcloud_defaults.h
DNA_pointcloud_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_rigidbody_types.h Cleanup: code comments punctuation / spacing 2021-07-23 17:03:51 +10:00
DNA_scene_defaults.h Cleanup: correct unbalanced doxygen groups 2021-12-14 16:17:10 +11:00
DNA_scene_types.h Refactor BKE_bpath module. 2021-11-29 14:22:38 +01:00
DNA_screen_types.h Merge branch 'blender-v3.0-release' 2021-11-23 18:35:56 +01:00
DNA_sdna_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_sequence_types.h Cleanup: Remove seq->tmp_flag DNA member 2021-12-01 12:49:17 +01:00
DNA_session_uuid_types.h
DNA_shader_fx_types.h Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
DNA_simulation_defaults.h
DNA_simulation_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_sound_types.h VSE: Fix audaspace not reading ffmpeg files with start offset correctly 2021-08-16 15:10:58 +02:00
DNA_space_types.h Refactor: Simplify spreadsheet handling of cell values 2021-12-15 09:34:13 -06:00
DNA_speaker_defaults.h
DNA_speaker_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_text_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_texture_defaults.h
DNA_texture_types.h Cleanup: spelling in comments, comment block formatting 2021-11-13 13:07:13 +11:00
DNA_tracking_types.h Tracking: Sort motion tracking tracks by start and end frames 2021-10-01 16:29:38 +02:00
DNA_userdef_types.h Revert fixes 2021-11-18 14:19:59 -03:00
DNA_uuid_types.h Assets: add Asset Catalog system 2021-09-23 15:00:45 +02:00
DNA_vec_defaults.h
DNA_vec_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_vfont_types.h Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX 2021-07-04 00:43:40 +10:00
DNA_view2d_types.h VSE strip thumbnails 2021-09-21 10:55:04 +02:00
DNA_view3d_defaults.h Viewport normal drawing with constant length 2021-08-04 10:55:05 +02:00
DNA_view3d_enums.h XR Controller Support Step 4: Controller Drawing 2021-10-12 16:18:05 +09:00
DNA_view3d_types.h Cleanup: spelling in comments, comment block formatting 2021-11-13 13:07:13 +11:00
DNA_volume_defaults.h
DNA_volume_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_windowmanager_types.h Docs: add docstring for wmWindowManger.winactive 2021-10-27 15:55:36 +11:00
DNA_workspace_types.h Keymap: preference for fallback-tool with RMB select 2021-09-21 18:14:11 +10:00
DNA_world_defaults.h
DNA_world_types.h Build-system: Force C linkage for all DNA type headers 2020-11-19 13:41:50 +01:00
DNA_xr_types.h XR Controller Support Step 5: Navigation 2021-10-26 13:34:58 +09:00