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

Public Attributes

struct UndoMeshlocal_next
 
struct UndoMeshlocal_prev
 
Mesh me
 
int selectmode
 
char uv_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 82 of file editmesh_undo.c.

Member Data Documentation

◆ edata

BArrayCustomData * UndoMesh::edata

◆ keyblocks

BArrayState** UndoMesh::keyblocks

◆ ldata

BArrayCustomData * UndoMesh::ldata

◆ local_next

struct 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 87 of file editmesh_undo.c.

◆ local_prev

struct UndoMesh * UndoMesh::local_prev

Definition at line 87 of file editmesh_undo.c.

Referenced by mesh_undostep_reference_elems_from_objects().

◆ me

Mesh UndoMesh::me

◆ mselect

BArrayState* UndoMesh::mselect

◆ pdata

BArrayCustomData * UndoMesh::pdata

◆ selectmode

int UndoMesh::selectmode

Definition at line 90 of file editmesh_undo.c.

Referenced by mesh_undosys_step_decode(), and undomesh_to_editmesh().

◆ shapenr

int UndoMesh::shapenr
Note
This isn't a perfect 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 101 of file editmesh_undo.c.

Referenced by undomesh_to_editmesh().

◆ 

struct { ... } UndoMesh::store

◆ undo_size

size_t UndoMesh::undo_size

Definition at line 112 of file editmesh_undo.c.

Referenced by mesh_undosys_step_encode().

◆ uv_selectmode

char UndoMesh::uv_selectmode

Definition at line 91 of file editmesh_undo.c.

Referenced by mesh_undosys_step_decode(), and mesh_undosys_step_encode().

◆ vdata

BArrayCustomData* UndoMesh::vdata

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