Blender V4.3
BMeshToMeshParams Struct Reference

#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
 

Detailed Description

Definition at line 49 of file bmesh_mesh_convert.hh.

Member Data Documentation

◆ active_shapekey_to_mvert

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.

◆ calc_object_remap

◆ cd_mask_extra

struct CustomData_MeshMasks BMeshToMeshParams::cd_mask_extra

Definition at line 67 of file bmesh_mesh_convert.hh.

◆ 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 #71865.

Definition at line 61 of file bmesh_mesh_convert.hh.

Referenced by mesh_separate_loose().


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