Blender  V3.3
Public Attributes | List of all members
BMeshToMeshParams Struct Reference

#include <bmesh_mesh_convert.h>

Public Attributes

bool calc_object_remap
 
bool update_shapekey_indices
 
bool active_shapekey_to_mvert
 
struct CustomData_MeshMasks cd_mask_extra
 

Detailed Description

Definition at line 44 of file bmesh_mesh_convert.h.

Member Data Documentation

◆ active_shapekey_to_mvert

bool BMeshToMeshParams::active_shapekey_to_mvert

Instead of copying the basis shape-key into the MVert array, copy the BMVert.co directly to MVert.co (used for reading undo data).

Definition at line 61 of file bmesh_mesh_convert.h.

◆ calc_object_remap

bool BMeshToMeshParams::calc_object_remap

Update object hook indices & vertex parents.

Definition at line 46 of file bmesh_mesh_convert.h.

Referenced by bc_triangulate_mesh(), BKE_mesh_remesh_voxel_fix_poles(), and modifyMesh().

◆ cd_mask_extra

struct CustomData_MeshMasks BMeshToMeshParams::cd_mask_extra

Definition at line 61 of file bmesh_mesh_convert.h.

◆ update_shapekey_indices

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 T71865.

Definition at line 56 of file bmesh_mesh_convert.h.


The documentation for this struct was generated from the following file: