|
Blender V5.0
|
Classes | |
| struct | StepObject |
| struct | CurvesUndoStep |
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 117 of file curves_undo.cc.
References foreach_ID_ref(), blender::ed::curves::undo::CurvesUndoStep::objects, and blender::ed::curves::undo::CurvesUndoStep::scene_ref.
Referenced by foreach_ID_ref(), and blender::ed::curves::undosys_type_register().
|
static |
Definition at line 77 of file curves_undo.cc.
References BKE_object_is_in_editmode(), BLI_assert, C, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_manager(), DEG_id_tag_update(), ED_undo_object_editmode_restore_helper(), ED_undo_object_editmode_validate_scene_from_windows(), ED_undo_object_set_active_or_warn(), Curves::geometry, Curves::id, ID_RECALC_GEOMETRY, Main::is_memfile_undo_flush_needed, LOG, UndoStep::name, NC_GEOM, ND_DATA, blender::ed::curves::undo::CurvesUndoStep::objects, blender::ed::curves::undo::CurvesUndoStep::scene_ref, step_decode(), and WM_event_add_notifier().
Referenced by step_decode(), and blender::ed::curves::undosys_type_register().
Definition at line 50 of file curves_undo.cc.
References C, CTX_data_scene(), CTX_data_view_layer(), ED_undo_editmode_objects_from_view_layer(), blender::ed::curves::undo::CurvesUndoStep::objects, blender::threading::parallel_for(), blender::ed::curves::undo::CurvesUndoStep::scene_ref, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by blender::ed::curves::undosys_type_register().
|
static |
Definition at line 111 of file curves_undo.cc.
References blender::ed::curves::undo::CurvesUndoStep::objects, and step_free().
Referenced by step_free(), and blender::ed::curves::undosys_type_register().