|
Blender V4.5
|
#include <bmesh_mesh_convert.hh>
Public Attributes | |
| bool | calc_object_remap |
| bool | update_shapekey_indices |
| bool | active_shapekey_to_mvert |
| struct CustomData_MeshMasks | cd_mask_extra |
Definition at line 49 of file bmesh_mesh_convert.hh.
| bool BMeshToMeshParams::active_shapekey_to_mvert |
Instead of copying the basis shape-key into the position array, copy the BMVert.co directly to the Mesh position (used for reading undo data).
Definition at line 66 of file bmesh_mesh_convert.hh.
Referenced by undomesh_from_editmesh().
| bool BMeshToMeshParams::calc_object_remap |
Update object hook indices & vertex parents.
Definition at line 51 of file bmesh_mesh_convert.hh.
Referenced by bc_triangulate_mesh(), BKE_mesh_from_bmesh_nomain(), BKE_mesh_mirror_apply_mirror_on_axis(), BKE_mesh_remesh_voxel_fix_poles(), bmo_bmesh_to_mesh_exec(), bpy_bmesh_to_mesh(), blender::nodes::node_geo_mesh_primitive_ico_sphere_cc::create_ico_sphere_mesh(), blender::ed::sculpt_paint::face_set::delete_geometry(), EDBM_mesh_load_ex(), edbm_separate_exec(), geometry_extract_apply(), modify_mesh(), multires_unsubdivide_to_basemesh(), paint_mask_slice_exec(), prepare_mesh_for_viewport_render(), sculptsession_bm_to_me_update_data_only(), undomesh_from_editmesh(), and blender::ed::sculpt_paint::trim::update_normals().
| struct CustomData_MeshMasks BMeshToMeshParams::cd_mask_extra |
Definition at line 67 of file bmesh_mesh_convert.hh.
Referenced by undomesh_from_editmesh().
| bool BMeshToMeshParams::update_shapekey_indices |
This re-assigns shape-key indices. Only do if the BMesh will have continued use to update the mesh & shape key in the future. In the case the BMesh is freed immediately, this can be left false.
This is needed when flushing changes from edit-mode into object mode, so a second flush or edit-mode exit doesn't run with indices that have become invalid from updating the shape-key, see #71865.
Definition at line 61 of file bmesh_mesh_convert.hh.
Referenced by bpy_bmesh_to_mesh(), EDBM_mesh_load_ex(), mesh_separate_loose(), prepare_mesh_for_viewport_render(), and undomesh_from_editmesh().