Fix paste/append w/ local-view

Paste in local-view wasn't setting local-view bits.
This commit is contained in:
2018-12-18 16:23:38 +11:00
parent afc4cd1e67
commit 372fd07a8e
5 changed files with 48 additions and 22 deletions

View File

@@ -403,7 +403,7 @@ static PyObject *bpy_lib_exit(BPy_Library *self, PyObject *UNUSED(args))
}
else {
Library *lib = mainl->curlib; /* newly added lib, assign before append end */
BLO_library_link_end(mainl, &(self->blo_handle), self->flag, NULL, NULL, NULL);
BLO_library_link_end(mainl, &(self->blo_handle), self->flag, NULL, NULL, NULL, NULL);
BLO_blendhandle_close(self->blo_handle);
self->blo_handle = NULL;