Blender V4.3
UndoStack Struct Reference

#include <BKE_undo_system.hh>

Public Attributes

ListBase steps
 
UndoStepstep_active
 
UndoStepstep_active_memfile
 
UndoStepstep_init
 
int group_level
 

Detailed Description

Definition at line 48 of file BKE_undo_system.hh.

Member Data Documentation

◆ group_level

int UndoStack::group_level

Keep track of nested group begin/end calls, within which all but the last undo-step is marked for skipping.

Definition at line 69 of file BKE_undo_system.hh.

Referenced by BKE_undosys_stack_group_begin(), BKE_undosys_stack_group_end(), BKE_undosys_step_push_with_type(), and ED_undo_is_state_valid().

◆ step_active

◆ step_active_memfile

UndoStep* UndoStack::step_active_memfile

The last memfile state read, used so we can be sure the names from the library state matches the state an undo step was written in.

Definition at line 55 of file BKE_undo_system.hh.

Referenced by BKE_undosys_print(), BKE_undosys_step_push_with_type(), undosys_step_decode(), undosys_step_encode(), and undosys_step_free_and_unlink().

◆ step_init

◆ steps


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