diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2020-01-06 17:46:43 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2020-01-06 17:46:43 +0300 |
commit | 60c54be053c1fa0573540551ab322f6cb4a16676 (patch) | |
tree | c9e24b39b65cef16060ee44be77cf4d4dd9dda3a /source | |
parent | 7213c42b6e55c55f14472dbb9440d4628122bec8 (diff) |
Fix/Cleanup invalid call to blendfile reading in UNDO_DISK.
Currently harmless since undo to disk is disabled, but that is not a
good reason to have invalid code.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/blender_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/blender_undo.c b/source/blender/blenkernel/intern/blender_undo.c index 7c12747283c..cd950e05415 100644 --- a/source/blender/blenkernel/intern/blender_undo.c +++ b/source/blender/blenkernel/intern/blender_undo.c @@ -73,7 +73,7 @@ bool BKE_memfile_undo_decode(MemFileUndoData *mfu, bContext *C) G.fileflags |= G_FILE_NO_UI; if (UNDO_DISK) { - success = BKE_blendfile_read(C, mfu->filename, NULL, 0); + success = BKE_blendfile_read(C, mfu->filename, &(const struct BlendFileReadParams){0}, NULL); } else { success = BKE_blendfile_read_from_memfile( |