Blender  V2.93
Public Attributes | List of all members
BMeshToMeshParams Struct Reference

#include <bmesh_mesh_convert.h>

Public Attributes

uint calc_object_remap: 1
 
uint update_shapekey_indices: 1
 
struct CustomData_MeshMasks cd_mask_extra
 

Detailed Description

Definition at line 49 of file bmesh_mesh_convert.h.

Member Data Documentation

◆ calc_object_remap

uint BMeshToMeshParams::calc_object_remap

Update object hook indices & vertex parents.

Definition at line 51 of file bmesh_mesh_convert.h.

Referenced by bc_triangulate_mesh().

◆ cd_mask_extra

struct CustomData_MeshMasks BMeshToMeshParams::cd_mask_extra

Definition at line 61 of file bmesh_mesh_convert.h.

◆ update_shapekey_indices

uint 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 61 of file bmesh_mesh_convert.h.


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