Blender V5.3
blender::UndoMesh Struct Reference

Classes

struct  [struct].store

Public Attributes

UndoMesh * local_next
UndoMesh * local_prev
Mesh * mesh
char selectmode
int shapenr
struct  store
size_t undo_size

Detailed Description

Definition at line 149 of file editmesh_undo.cc.

Member Data Documentation

◆ local_next

UndoMesh* blender::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 154 of file editmesh_undo.cc.

◆ local_prev

UndoMesh * blender::UndoMesh::local_prev

◆ mesh

◆ selectmode

char blender::UndoMesh::selectmode

◆ shapenr

int blender::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 170 of file editmesh_undo.cc.

Referenced by blender::undomesh_from_editmesh(), and blender::undomesh_to_editmesh().

◆ store

◆ undo_size

size_t blender::UndoMesh::undo_size

Definition at line 182 of file editmesh_undo.cc.

Referenced by blender::mesh_undosys_step_encode().


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