diff options
author | Bastien Montagne <bastien@blender.org> | 2021-10-05 18:04:35 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-10-05 18:07:06 +0300 |
commit | 11be9edae263194d0ce4fa0d43ad44f04db9a491 (patch) | |
tree | cbd981445187de17ecfb30c96fdfce7d47f0f942 /source/blender/editors/space_outliner | |
parent | c11585a82f97e51c01c4f4f309b85bdf7602ca08 (diff) |
Fix missing proper 'make local' call for liboverrides from outliner.
Also includes minor improvements to
`BKE_lib_override_library_make_local` itself.
This is a complement to rB37458798fa02c.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index 9e314701719..75bdc5dbac6 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -742,7 +742,7 @@ static void id_local_fn(bContext *C, } } else if (ID_IS_OVERRIDE_LIBRARY_REAL(tselem->id)) { - BKE_lib_override_library_free(&tselem->id->override_library, true); + BKE_lib_override_library_make_local(tselem->id); } } |