diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-08 16:53:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-08 16:55:55 +0300 |
commit | cfd11af9819433c5b83359b72f002fcd59fdc1ab (patch) | |
tree | 6b2113874e48fcf583979739f20d1dfe8f686c93 /source/blender/python/intern | |
parent | 09a8f5ebcab446758b37d5359dff77ea4edcf7d6 (diff) |
readfile: add id_tag_extra argument
This allows adding ID tags when linking/loading data.
This is needed to implement loading non 'G.main' ID data-blocks,
see D10612.
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_library_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_library_load.c b/source/blender/python/intern/bpy_library_load.c index 03771a8c294..5d9adb08f3d 100644 --- a/source/blender/python/intern/bpy_library_load.c +++ b/source/blender/python/intern/bpy_library_load.c @@ -345,7 +345,7 @@ static PyObject *bpy_lib_exit(BPy_Library *self, PyObject *UNUSED(args)) /* here appending/linking starts */ struct LibraryLink_Params liblink_params; - BLO_library_link_params_init(&liblink_params, bmain, self->flag); + BLO_library_link_params_init(&liblink_params, bmain, self->flag, 0); mainl = BLO_library_link_begin(&(self->blo_handle), self->relpath, &liblink_params); |