[Bf-blender-cvs] [dceab6418aa] undo-experiments: undoexp: fix for missed func signature change.

Bastien Montagne noreply at git.blender.org
Fri Jan 10 12:09:41 CET 2020


Commit: dceab6418aa43486383e3763836f194feaabd657
Author: Bastien Montagne
Date:   Fri Jan 10 12:09:10 2020 +0100
Branches: undo-experiments
https://developer.blender.org/rBdceab6418aa43486383e3763836f194feaabd657

undoexp: fix for missed func signature change.

===================================================================

M	source/blender/blenloader/intern/undofile.c

===================================================================

diff --git a/source/blender/blenloader/intern/undofile.c b/source/blender/blenloader/intern/undofile.c
index 03cc60c09f6..0bbd8c26fa1 100644
--- a/source/blender/blenloader/intern/undofile.c
+++ b/source/blender/blenloader/intern/undofile.c
@@ -128,8 +128,11 @@ struct Main *BLO_memfile_main_get(struct MemFile *memfile,
                                   struct Scene **r_scene)
 {
   struct Main *bmain_undo = NULL;
-  BlendFileData *bfd = BLO_read_from_memfile(
-      oldmain, BKE_main_blendfile_path(oldmain), memfile, BLO_READ_SKIP_NONE, NULL);
+  BlendFileData *bfd = BLO_read_from_memfile(oldmain,
+                                             BKE_main_blendfile_path(oldmain),
+                                             memfile,
+                                             &(const struct BlendFileReadParams){0},
+                                             NULL);
 
   if (bfd) {
     bmain_undo = bfd->main;



More information about the Bf-blender-cvs mailing list