Fix mistake logging w/ undo

This commit is contained in:
Campbell Barton 2018-04-03 16:45:05 +02:00
parent 96f565b380
commit 53f068454e
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ void BKE_undosys_step_push_init_with_type(UndoStack *ustack, bContext *C, const
if (ut->step_encode_init) {
undosys_stack_validate(ustack, false);
UndoStep *us = MEM_callocN(ut->step_size, __func__);
CLOG_INFO(&LOG, 1, "%p, '%s', type='%s'", us, name, us->type->name);
CLOG_INFO(&LOG, 1, "%p, '%s', type='%s'", us, name, ut->name);
if (name != NULL) {
BLI_strncpy(us->name, name, sizeof(us->name));
}