diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-25 21:46:35 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-25 21:46:35 +0300 |
commit | c8f9b02acd5c6c92b34884f551070464e5c36fc5 (patch) | |
tree | e8acfc0685f4e842af7408948c1053e65f355a8f /source/blender/blenkernel/BKE_mesh_legacy_convert.h | |
parent | 5116bfd51f173a26dd5f169518f986327d2d2f27 (diff) |
Progress
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_legacy_convert.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh_legacy_convert.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_legacy_convert.h b/source/blender/blenkernel/BKE_mesh_legacy_convert.h index bbc61d5af5e..c9c428e0dec 100644 --- a/source/blender/blenkernel/BKE_mesh_legacy_convert.h +++ b/source/blender/blenkernel/BKE_mesh_legacy_convert.h @@ -28,6 +28,16 @@ void BKE_mesh_legacy_convert_hide_layers_to_flags(struct Mesh *mesh); void BKE_mesh_legacy_convert_flags_to_hide_layers(struct Mesh *mesh); /** + * Convert the selected element attributes to the old flag format for writing. + */ +void BKE_mesh_legacy_convert_selection_layers_to_flags(struct Mesh *mesh); +/** + * Convert the old selection flags (#SELECT/#ME_FACE_SEL) to the selected element attribute for + * reading. Only add the attributes when there are any elements in each domain selected. + */ +void BKE_mesh_legacy_convert_flags_to_selection_layers(struct Mesh *mesh); + +/** * Recreate #MFace Tessellation. * * \note This doesn't use multi-threading like #BKE_mesh_recalc_looptri since |