diff options
author | Bastien Montagne <bastien@blender.org> | 2020-05-25 16:26:58 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-05-25 16:28:15 +0300 |
commit | b01d2ea72ac17d93083cab974563b48d729faf7a (patch) | |
tree | 9f2a49b3040a4dccf7492e857d7ef0bd10111542 /source/blender/editors/undo | |
parent | e0ff032711ec1a8cb85a2a9be9a6b0188d7f9db5 (diff) |
Libquery: Refactor: add bmain to data passed to callback.
No reason to enforce defining own callback user data for something that
controlling has already available...
Diffstat (limited to 'source/blender/editors/undo')
-rw-r--r-- | source/blender/editors/undo/memfile_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/undo/memfile_undo.c b/source/blender/editors/undo/memfile_undo.c index f22e18de7a1..2df26abe8b3 100644 --- a/source/blender/editors/undo/memfile_undo.c +++ b/source/blender/editors/undo/memfile_undo.c @@ -216,7 +216,7 @@ static void memfile_undosys_step_decode(struct bContext *C, FOREACH_MAIN_ID_BEGIN (bmain, id) { if (id->tag & LIB_TAG_UNDO_OLD_ID_REUSED) { BKE_library_foreach_ID_link( - bmain, id, memfile_undosys_step_id_reused_cb, bmain, IDWALK_READONLY); + bmain, id, memfile_undosys_step_id_reused_cb, NULL, IDWALK_READONLY); } /* Tag depsgraph to update data-block for changes that happened between the |