Blender V5.3
blender::UndoStack Struct Reference

#include <BKE_undo_system.hh>

Public Attributes

ListBaseT< UndoStep > steps
UndoStep * step_active
UndoStep * step_active_memfile
UndoStep * step_init
int group_level

Detailed Description

Definition at line 79 of file BKE_undo_system.hh.

Member Data Documentation

◆ group_level

int blender::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 100 of file BKE_undo_system.hh.

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

◆ step_active

◆ step_active_memfile

UndoStep* blender::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 86 of file BKE_undo_system.hh.

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

◆ step_init

◆ steps


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