Blender V4.3
UndoMesh Struct Reference

Public Attributes

UndoMeshlocal_next
 
UndoMeshlocal_prev
 
Mesh mesh
 
int selectmode
 
char uv_selectmode
 
int shapenr
 
struct { 
 
   BArrayCustomData *   vdata 
 
   BArrayCustomData *   edata 
 
   BArrayCustomData *   ldata 
 
   BArrayCustomData *   pdata 
 
   BArrayState *   face_offset_indices 
 
   BArrayState **   keyblocks 
 
   BArrayState *   mselect 
 
store 
 
size_t undo_size
 

Detailed Description

Definition at line 104 of file editmesh_undo.cc.

Member Data Documentation

◆ edata

BArrayCustomData * UndoMesh::edata

Definition at line 131 of file editmesh_undo.cc.

Referenced by um_arraystore_expand(), and um_arraystore_free().

◆ face_offset_indices

BArrayState* UndoMesh::face_offset_indices

Definition at line 132 of file editmesh_undo.cc.

Referenced by um_arraystore_expand(), and um_arraystore_free().

◆ keyblocks

BArrayState** UndoMesh::keyblocks

Definition at line 133 of file editmesh_undo.cc.

Referenced by um_arraystore_expand(), and um_arraystore_free().

◆ ldata

BArrayCustomData * UndoMesh::ldata

Definition at line 131 of file editmesh_undo.cc.

Referenced by um_arraystore_expand(), and um_arraystore_free().

◆ local_next

UndoMesh* UndoMesh::local_next

This undo-meshes in um_arraystore.local_links. Not to be confused with the next and previous undo steps.

Definition at line 109 of file editmesh_undo.cc.

◆ local_prev

UndoMesh * UndoMesh::local_prev

Definition at line 109 of file editmesh_undo.cc.

Referenced by mesh_undostep_reference_elems_from_objects().

◆ mesh

◆ mselect

BArrayState* UndoMesh::mselect

Definition at line 134 of file editmesh_undo.cc.

Referenced by um_arraystore_expand(), and um_arraystore_free().

◆ pdata

BArrayCustomData * UndoMesh::pdata

Definition at line 131 of file editmesh_undo.cc.

Referenced by um_arraystore_expand(), and um_arraystore_free().

◆ selectmode

int UndoMesh::selectmode

◆ shapenr

int UndoMesh::shapenr

The active shape key associated with this mesh.

NOTE(@ideasman42): This isn't a perfect solution, if you edit keys and change shapes this works well (fixing #32442), but editing shape keys, going into object mode, removing or changing their order, then go back into edit-mode and undo will give issues - where the old index will be out of sync with the new object index.

There are a few ways this could be made to work but for now its a known limitation with mixing object and edit-mode operations.

Definition at line 126 of file editmesh_undo.cc.

Referenced by undomesh_from_editmesh(), and undomesh_to_editmesh().

◆ [struct]

struct { ... } UndoMesh::store

◆ undo_size

size_t UndoMesh::undo_size

Definition at line 138 of file editmesh_undo.cc.

Referenced by mesh_undosys_step_encode().

◆ uv_selectmode

char UndoMesh::uv_selectmode

Definition at line 113 of file editmesh_undo.cc.

Referenced by mesh_undosys_step_decode(), and mesh_undosys_step_encode().

◆ vdata

BArrayCustomData* UndoMesh::vdata

Definition at line 131 of file editmesh_undo.cc.

Referenced by um_arraystore_expand(), and um_arraystore_free().


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