Fix mistake logging w/ undo
authorCampbell Barton <ideasman42@gmail.com>
Tue, 3 Apr 2018 14:45:05 +0000 (16:45 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 3 Apr 2018 15:03:33 +0000 (17:03 +0200)
source/blender/blenkernel/intern/undo_system.c

index ddcd16f998e81d03b7d5a29738a0fcdc587ab464..bb4c0b1130e8c40b946377d5755a728250715604 100644 (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));
                }