|
Blender V5.0
|
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 388 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 ED_undosys_type_grease_pencil(), and foreach_ID_ref().
|
static |
Definition at line 347 of file grease_pencil_undo.cc.
References BKE_object_is_in_editmode(), BLI_assert, C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_manager(), blender::ed::greasepencil::undo::StepObject::decode(), DEG_relations_tag_update(), ED_undo_object_editmode_restore_helper(), ED_undo_object_editmode_validate_scene_from_windows(), ED_undo_object_set_active_or_warn(), Main::is_memfile_undo_flush_needed, LOG, 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 WM_event_add_notifier().
Referenced by ED_undosys_type_grease_pencil(), and step_decode().
|
static |
Definition at line 323 of file grease_pencil_undo.cc.
References C, CTX_data_scene(), CTX_data_view_layer(), ED_undo_editmode_objects_from_view_layer(), blender::ed::greasepencil::undo::GreasePencilUndoStep::objects, blender::threading::parallel_for(), blender::ed::greasepencil::undo::GreasePencilUndoStep::scene_ref, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by ED_undosys_type_grease_pencil().
|
static |
Definition at line 382 of file grease_pencil_undo.cc.
References blender::ed::greasepencil::undo::GreasePencilUndoStep::objects, and step_free().
Referenced by ED_undosys_type_grease_pencil(), and step_free().