Undo: unified undo system w/ linear history
[blender.git] / source / blender / blenloader / intern / readfile.c
index e85af67b105744648f3a05003a709ea6ce841019..7b51ddcce920b785ff38db29979a3afedc26e92a 100644 (file)
@@ -6300,7 +6300,8 @@ static void direct_link_windowmanager(FileData *fd, wmWindowManager *wm)
        wm->defaultconf = NULL;
        wm->addonconf = NULL;
        wm->userconf = NULL;
-       
+       wm->undo_stack = NULL;
+
        BLI_listbase_clear(&wm->jobs);
        BLI_listbase_clear(&wm->drags);