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

#include <BKE_undo_system.h>

Public Attributes

struct UndoStepnext
 
struct UndoStepprev
 
char name [64]
 
const struct UndoTypetype
 
size_t data_size
 
bool skip
 
bool use_memfile_step
 
bool use_old_bmain_data
 
bool is_applied
 

Detailed Description

Definition at line 67 of file BKE_undo_system.h.

Member Data Documentation

◆ data_size

size_t UndoStep::data_size

◆ is_applied

bool UndoStep::is_applied

◆ name

char UndoStep::name[64]

◆ next

struct UndoStep* UndoStep::next

◆ prev

struct UndoStep * UndoStep::prev

◆ skip

bool UndoStep::skip

◆ type

const struct UndoType* UndoStep::type

◆ use_memfile_step

bool UndoStep::use_memfile_step

Some situations require the global state to be stored, edge cases when exiting modes.

Definition at line 76 of file BKE_undo_system.h.

Referenced by BKE_undosys_step_push_with_type(), and sculpt_undosys_step_encode().

◆ use_old_bmain_data

bool UndoStep::use_old_bmain_data

When this is true, undo/memfile read code is allowed to re-use old data-blocks for unchanged IDs, and existing depsgraphes. This has to be forbidden in some cases (like renamed IDs).

Definition at line 79 of file BKE_undo_system.h.

Referenced by BKE_undosys_step_push_with_type(), memfile_undosys_step_decode(), and memfile_undosys_step_encode().


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