|
Blender V5.0
|
#include "BLI_task.hh"#include "BKE_context.hh"#include "BKE_curves.hh"#include "BKE_customdata.hh"#include "BKE_grease_pencil.hh"#include "BKE_lib_id.hh"#include "BKE_main.hh"#include "BKE_object.hh"#include "BKE_undo_system.hh"#include "CLG_log.h"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_build.hh"#include "DNA_grease_pencil_types.h"#include "ED_grease_pencil.hh"#include "ED_undo.hh"#include "MEM_guardedalloc.h"#include "WM_api.hh"#include "WM_types.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::ed |
| namespace | blender::ed::greasepencil |
| namespace | blender::ed::greasepencil::undo |
Functions | |
| void | ED_undosys_type_grease_pencil (UndoType *ut) |
Implements ED Undo System | |
| |
| static bool | blender::ed::greasepencil::undo::step_encode (bContext *C, Main *bmain, UndoStep *us_p) |
| static void | blender::ed::greasepencil::undo::step_decode (bContext *C, Main *bmain, UndoStep *us_p, const eUndoStepDir, bool) |
| static void | blender::ed::greasepencil::undo::step_free (UndoStep *us_p) |
| static void | blender::ed::greasepencil::undo::foreach_ID_ref (UndoStep *us_p, UndoTypeForEachIDRefFn foreach_ID_ref_fn, void *user_data) |
Variables | |
| static CLG_LogRef | LOG = {"undo.greasepencil"} |
| void ED_undosys_type_grease_pencil | ( | UndoType * | ut | ) |
Definition at line 404 of file grease_pencil_undo.cc.
References UndoType::flags, blender::ed::greasepencil::undo::foreach_ID_ref(), blender::ed::greasepencil::grease_pencil_edit_poll(), UndoType::name, UndoType::poll, blender::ed::greasepencil::undo::step_decode(), UndoType::step_decode, blender::ed::greasepencil::undo::step_encode(), UndoType::step_encode, UndoType::step_foreach_ID_ref, blender::ed::greasepencil::undo::step_free(), UndoType::step_free, UndoType::step_size, and UNDOTYPE_FLAG_NEED_CONTEXT_FOR_ENCODE.
Referenced by ED_undosys_type_init().
|
static |
Definition at line 34 of file grease_pencil_undo.cc.