|
Blender V5.3
|
Classes | |
| struct | StepEncodeStatus |
| struct | StepDecodeStatus |
| class | StepDrawingGeometryBase |
| class | StepDrawingGeometry |
| class | StepDrawingReference |
| class | StepObject |
| struct | GreasePencilUndoStep |
Functions | |
Implements ED Undo System | |
| |
| static bool | step_encode (bContext *C, Main *bmain, UndoStep *us_p) |
| static void | step_decode (bContext *C, Main *bmain, UndoStep *us_p, const eUndoStepDir, bool) |
| static void | step_free (UndoStep *us_p) |
| static void | foreach_ID_ref (UndoStep *us_p, UndoTypeForEachIDRefFn foreach_ID_ref_fn, void *user_data) |
|
static |
Definition at line 389 of file grease_pencil_undo.cc.
References foreach_ID_ref(), blender::ed::greasepencil::undo::GreasePencilUndoStep::objects, and blender::ed::greasepencil::undo::GreasePencilUndoStep::scene_ref.
Referenced by blender::ED_undosys_type_grease_pencil(), and foreach_ID_ref().
|
static |
Definition at line 348 of file grease_pencil_undo.cc.
References blender::BKE_object_is_in_editmode(), blender::BLI_assert(), C, blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_manager(), blender::ed::greasepencil::undo::StepObject::decode(), blender::DEG_relations_tag_update(), blender::ED_undo_object_editmode_restore_helper(), blender::ED_undo_object_editmode_validate_scene_from_windows(), blender::ED_undo_object_set_active_or_warn(), blender::Main::is_memfile_undo_flush_needed, blender::LOG, blender::UndoStep::name, NC_GEOM, ND_DATA, blender::ed::greasepencil::undo::StepDecodeStatus::needs_relationships_update, blender::ed::greasepencil::undo::GreasePencilUndoStep::objects, blender::ed::greasepencil::undo::GreasePencilUndoStep::scene_ref, step_decode(), and blender::WM_event_add_notifier().
Referenced by blender::ED_undosys_type_grease_pencil(), and step_decode().
|
static |
Definition at line 324 of file grease_pencil_undo.cc.
References C, blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::ED_undo_editmode_objects_from_view_layer(), blender::ed::greasepencil::undo::GreasePencilUndoStep::objects, blender::threading::parallel_for(), blender::ed::greasepencil::undo::GreasePencilUndoStep::scene_ref, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and step_encode().
Referenced by blender::ED_undosys_type_grease_pencil(), and step_encode().
|
static |
Definition at line 383 of file grease_pencil_undo.cc.
References blender::ed::greasepencil::undo::GreasePencilUndoStep::objects, and step_free().
Referenced by blender::ED_undosys_type_grease_pencil(), and step_free().