diff --git a/openpype/hosts/blender/api/plugin.py b/openpype/hosts/blender/api/plugin.py index 74c291c3a58..5146696e9cd 100644 --- a/openpype/hosts/blender/api/plugin.py +++ b/openpype/hosts/blender/api/plugin.py @@ -26,6 +26,7 @@ get_children_recursive, get_parent_collection, get_root_datablocks, + get_used_datablocks, link_to_collection, transfer_stack, unlink_from_collection, @@ -780,7 +781,7 @@ def _load_library_datablocks( # Override armature if isinstance(d, bpy.types.Object) and d.type == "ARMATURE": - d.data = d.data.override_create() + d.data.override_create(remap_local_usages=True) # Add override datablocks to datablocks datablocks.update(override_datablocks) @@ -1238,8 +1239,10 @@ def replace_container( isinstance(old_datablock, bpy.types.Object) and hasattr(new_datablock.data, "shape_keys") and new_datablock.data.shape_keys + and new_datablock.data.shape_keys.animation_data and old_datablock.data and old_datablock.data.shape_keys + and old_datablock.data.shape_keys.animation_data ): for i, driver in enumerate( new_datablock.data.shape_keys.animation_data.drivers