Skip to content
Snippets Groups Projects
Commit d1265dc6 authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

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.
parent 287a84b2
No related branches found
No related tags found
No related merge requests found
...@@ -302,7 +302,6 @@ class PoseActionCreator: ...@@ -302,7 +302,6 @@ class PoseActionCreator:
def create_pose_asset( def create_pose_asset(
context: Context,
params: PoseCreationParams, params: PoseCreationParams,
) -> Optional[Action]: ) -> Optional[Action]:
"""Create a single-frame Action containing only the pose of the given bones. """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 ...@@ -334,7 +333,7 @@ def create_pose_asset_from_context(context: Context, new_asset_name: str) -> Opt
new_asset_name, new_asset_name,
) )
return create_pose_asset(context, params) return create_pose_asset(params)
def copy_fcurves( def copy_fcurves(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment