Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/undo_system.c
| Context not available. | |||||
| static void undosys_step_decode(bContext *C, UndoStep *us, int dir) | static void undosys_step_decode(bContext *C, UndoStep *us, int dir) | ||||
| { | { | ||||
| CLOG_INFO(&LOG, 2, "addr=%p, name='%s', type='%s'", us, us->name, us->type->name); | CLOG_INFO(&LOG, 2, "BEGIN addr=%p, name='%s', type='%s'", us, us->name, us->type->name); | ||||
| if (us->type->step_foreach_ID_ref) { | if (us->type->step_foreach_ID_ref) { | ||||
| /* Don't use from context yet because sometimes context is fake and not all members are filled in. */ | /* Don't use from context yet because sometimes context is fake and not all members are filled in. */ | ||||
| Main *bmain = G.main; | Main *bmain = G.main; | ||||
| Context not available. | |||||
| UNDO_NESTED_CHECK_BEGIN; | UNDO_NESTED_CHECK_BEGIN; | ||||
| us->type->step_decode(C, us, dir); | us->type->step_decode(C, us, dir); | ||||
| UNDO_NESTED_CHECK_END; | UNDO_NESTED_CHECK_END; | ||||
| CLOG_INFO(&LOG, 2, "END addr=%p, name='%s', type='%s'", us, us->name, us->type->name); | |||||
| } | } | ||||
| static void undosys_step_free_and_unlink(UndoStack *ustack, UndoStep *us) | static void undosys_step_free_and_unlink(UndoStack *ustack, UndoStep *us) | ||||
| Context not available. | |||||