Pose Libraries: Remove now unnecessary asset function parameter

This parameter is optional, deprecated and ignored since rBccc9eef1b927.
This commit is contained in:
Julian Eisel 2022-11-30 19:45:35 +01:00
parent 0b0052bd53
commit fdfd24de03
1 changed files with 1 additions and 2 deletions

View File

@ -333,9 +333,8 @@ class PoseAssetUser:
pass
def _load_and_use_pose(self, context: Context) -> Set[str]:
asset_library_ref = context.asset_library_ref
asset = context.asset_file_handle
asset_lib_path = bpy.types.AssetHandle.get_full_library_path(asset, asset_library_ref)
asset_lib_path = bpy.types.AssetHandle.get_full_library_path(asset)
if not asset_lib_path:
self.report( # type: ignore