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

Public Attributes

Mesh me
 
int selectmode
 
int shapenr
 
struct {
   BArrayCustomData *   vdata
 
   BArrayCustomData *   edata
 
   BArrayCustomData *   ldata
 
   BArrayCustomData *   pdata
 
   BArrayState **   keyblocks
 
   BArrayState *   mselect
 
store
 
size_t undo_size
 

Detailed Description

Definition at line 95 of file editmesh_undo.c.

Member Data Documentation

◆ edata

BArrayCustomData * UndoMesh::edata

◆ keyblocks

BArrayState** UndoMesh::keyblocks

◆ ldata

BArrayCustomData * UndoMesh::ldata

◆ me

Mesh UndoMesh::me

◆ mselect

BArrayState* UndoMesh::mselect

◆ pdata

BArrayCustomData * UndoMesh::pdata

◆ selectmode

int UndoMesh::selectmode

Definition at line 97 of file editmesh_undo.c.

Referenced by mesh_undosys_step_decode(), and undomesh_to_editmesh().

◆ shapenr

int UndoMesh::shapenr
Note
this isn't a prefect solution, if you edit keys and change shapes this works well (fixing T32442), but editing shape keys, going into object mode, removing or changing their order, then go back into editmode 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 editmode operations - Campbell.

Definition at line 107 of file editmesh_undo.c.

Referenced by undomesh_to_editmesh().

◆ 

struct { ... } UndoMesh::store

◆ undo_size

size_t UndoMesh::undo_size

Definition at line 118 of file editmesh_undo.c.

Referenced by mesh_undosys_step_encode().

◆ vdata

BArrayCustomData* UndoMesh::vdata

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