Go to the source code of this file.
Use this for multires operators which changes base mesh and which are to be possible. Example of such operators is Apply Base.
Usage:
static int operator_exec((bContext *C, wmOperator *op) {
ED_sculpt_undo_push_mixed_begin(C, op->type->name); // Modify base mesh. ED_sculpt_undo_push_mixed_end(C, op->type->name);
return OPERATOR_FINISHED; }
If object is not in sculpt mode or sculpt does not happen on multires then regular ED_undo_push() is used.