Blender V5.0
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 50 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 71 of file BKE_undo_system.hh.

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

◆ 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 57 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: