diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-11-16 20:01:49 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-11-16 20:01:49 +0300 |
commit | d1265dc6aa12177b62a72cea418f14d145bf2ba9 (patch) | |
tree | af1f1772fc552aabc19208b6842fe480f5896580 /pose_library | |
parent | 287a84b2056700a6d2543000fdaaf9adf1b11caf (diff) |
Pose library: remove unused parameter
Remove an unused `context` parameter from
`pose_library.pose_creation.create_pose_asset()`. Normally this wouldn't
make it into the release branch, but this particular function could be
the basis for custom pose library creation code, and thus it's good if
it has a nicer API in the release.
No functional changes.
Diffstat (limited to 'pose_library')
-rw-r--r-- | pose_library/pose_creation.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pose_library/pose_creation.py b/pose_library/pose_creation.py index 12293e33..b2fbb4dd 100644 --- a/pose_library/pose_creation.py +++ b/pose_library/pose_creation.py @@ -302,7 +302,6 @@ class PoseActionCreator: def create_pose_asset( - context: Context, params: PoseCreationParams, ) -> Optional[Action]: """Create a single-frame Action containing only the pose of the given bones. @@ -334,7 +333,7 @@ def create_pose_asset_from_context(context: Context, new_asset_name: str) -> Opt new_asset_name, ) - return create_pose_asset(context, params) + return create_pose_asset(params) def copy_fcurves( |