|
Blender V5.3
|
#include <BKE_undo_system.hh>
Public Attributes | |
| UndoStep * | next |
| UndoStep * | prev |
| char | name [64] |
| const UndoType * | type |
| size_t | data_size |
| bool | skip |
| bool | use_memfile_step |
| bool | use_old_bmain_data |
| bool | is_applied |
Definition at line 103 of file BKE_undo_system.hh.
| size_t blender::UndoStep::data_size |
Size in bytes of all data in step (not including the step).
Definition at line 108 of file BKE_undo_system.hh.
Referenced by blender::armature_undosys_step_encode(), blender::BKE_undosys_stack_limit_steps_and_memory(), blender::curve_undosys_step_encode(), blender::font_undosys_step_encode(), blender::image_undosys_step_encode(), blender::lattice_undosys_step_encode(), blender::mball_undosys_step_encode(), blender::memfile_undosys_step_encode(), blender::mesh_undosys_step_encode(), blender::paintcurve_undosys_step_encode(), blender::ed::sculpt_paint::undo::step_encode(), blender::text_undosys_step_encode(), and blender::text_undosys_step_encode_init().
| bool blender::UndoStep::is_applied |
For use by undo systems that accumulate changes (mesh-sculpt & image-painting).
Definition at line 119 of file BKE_undo_system.hh.
Referenced by blender::BKE_undosys_print(), blender::image_undosys_step_decode(), blender::image_undosys_step_decode_redo(), blender::image_undosys_step_decode_redo_impl(), blender::image_undosys_step_decode_undo(), blender::image_undosys_step_decode_undo_impl(), blender::ed::sculpt_paint::undo::step_decode_redo(), blender::ed::sculpt_paint::undo::step_decode_redo_impl(), blender::ed::sculpt_paint::undo::step_decode_undo(), blender::ed::sculpt_paint::undo::step_decode_undo_impl(), blender::ed::sculpt_paint::undo::step_encode(), and blender::text_undosys_step_encode().
| char blender::UndoStep::name[64] |
Definition at line 105 of file BKE_undo_system.hh.
Referenced by blender::armature_undosys_step_decode(), blender::BKE_undosys_print(), blender::BKE_undosys_step_load_data_ex(), blender::BKE_undosys_step_push_init_with_type(), blender::BKE_undosys_step_push_with_type(), blender::curve_undosys_step_decode(), blender::ed_undo_grouped_check_by_name(), blender::font_undosys_step_decode(), blender::lattice_undosys_step_decode(), blender::mball_undosys_step_decode(), blender::mesh_undosys_step_decode(), blender::particle_undosys_step_decode(), blender::ed::curves::undo::step_decode(), blender::ed::greasepencil::undo::step_decode(), blender::ed::pointcloud::undo::step_decode(), blender::undosys_step_decode(), blender::undosys_step_encode(), and blender::undosys_step_free_and_unlink().
| UndoStep* blender::UndoStep::next |
Definition at line 104 of file BKE_undo_system.hh.
Referenced by blender::BKE_undosys_stack_has_redo(), blender::BKE_undosys_step_calc_direction(), blender::BKE_undosys_step_load_data_ex(), blender::BKE_undosys_step_push_init_with_type(), blender::BKE_undosys_step_redo(), blender::BKE_undosys_step_same_type_next(), blender::image_undosys_step_decode_redo(), blender::image_undosys_step_decode_undo(), blender::memfile_undosys_step_decode(), blender::memfile_undosys_step_free(), blender::ed::sculpt_paint::undo::step_decode_redo(), blender::ed::sculpt_paint::undo::step_decode_undo(), blender::undosys_stack_clear_all_first(), and blender::undosys_step_iter_first().
| UndoStep * blender::UndoStep::prev |
Definition at line 104 of file BKE_undo_system.hh.
Referenced by blender::BKE_undosys_stack_active_with_type(), blender::BKE_undosys_stack_clear_active(), blender::BKE_undosys_stack_has_undo(), blender::BKE_undosys_stack_limit_steps_and_memory(), blender::BKE_undosys_step_calc_direction(), blender::BKE_undosys_step_load_data_ex(), blender::BKE_undosys_step_redo_with_data_ex(), blender::BKE_undosys_step_same_type_prev(), blender::BKE_undosys_step_undo(), blender::ED_image_undo_push(), blender::ed_undo_step_by_name(), blender::image_undosys_step_decode_redo(), blender::image_undosys_step_decode_undo(), blender::image_undosys_step_encode(), blender::memfile_undosys_step_decode(), blender::ed::sculpt_paint::undo::step_decode_redo(), blender::ed::sculpt_paint::undo::step_decode_undo(), blender::undosys_stack_clear_all_first(), blender::undosys_step_decode(), and blender::undosys_step_iter_first().
| bool blender::UndoStep::skip |
Users should never see this step (only use for internal consistency).
Definition at line 110 of file BKE_undo_system.hh.
Referenced by blender::BKE_undosys_print(), blender::BKE_undosys_stack_clear_active(), blender::BKE_undosys_stack_group_end(), blender::BKE_undosys_stack_limit_steps_and_memory(), blender::BKE_undosys_step_load_data_ex(), blender::BKE_undosys_step_load_from_index(), and blender::BKE_undosys_step_push_with_type().
| const UndoType* blender::UndoStep::type |
Definition at line 106 of file BKE_undo_system.hh.
Referenced by blender::BKE_undosys_print(), blender::BKE_undosys_stack_active_with_type(), blender::BKE_undosys_stack_init_or_active_with_type(), blender::BKE_undosys_stack_limit_steps_and_memory(), blender::BKE_undosys_step_load_data_ex(), blender::BKE_undosys_step_push(), blender::BKE_undosys_step_push_init_with_type(), blender::BKE_undosys_step_push_with_type(), blender::BKE_undosys_step_same_type_next(), blender::BKE_undosys_step_same_type_prev(), blender::ED_image_undo_push(), blender::ED_undosys_autosave_compatible(), blender::ED_undosys_stack_memfile_id_changed_tag(), blender::image_undosys_step_decode_redo(), blender::image_undosys_step_decode_undo(), blender::image_undosys_step_encode(), blender::ed::sculpt_paint::undo::step_decode_redo(), blender::ed::sculpt_paint::undo::step_decode_undo(), blender::text_undosys_poll(), blender::text_undosys_step_encode_init(), blender::undo_encode_hints_from_context(), blender::undosys_step_decode(), blender::undosys_step_encode(), blender::undosys_step_free_and_unlink(), blender::undosys_step_iter_first(), and blender::UNUSED_FUNCTION().
| bool blender::UndoStep::use_memfile_step |
Some situations require the global state to be stored, edge cases when exiting modes.
Definition at line 112 of file BKE_undo_system.hh.
Referenced by blender::BKE_undosys_step_push_with_type(), and blender::ed::sculpt_paint::undo::step_encode().
| bool blender::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 depsgraphs. This has to be forbidden in some cases (like renamed IDs).
Definition at line 117 of file BKE_undo_system.hh.
Referenced by blender::BKE_undosys_step_push_with_type(), blender::memfile_undosys_step_decode(), and blender::memfile_undosys_step_encode().