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

Pose Library: remove unused function

Remove `PoseActionCreator._store_parameters_from_callback()`, as it doesn't
have any current use.

No functional changes.
parent 9a871959
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,6 @@ class PoseActionCreator: ...@@ -98,7 +98,6 @@ class PoseActionCreator:
"""Store the current pose into the given action.""" """Store the current pose into the given action."""
self._store_bone_pose_parameters(dst_action) self._store_bone_pose_parameters(dst_action)
self._store_animated_parameters(dst_action) self._store_animated_parameters(dst_action)
self._store_parameters_from_callback(dst_action)
def _store_bone_pose_parameters(self, dst_action: Action) -> None: def _store_bone_pose_parameters(self, dst_action: Action) -> None:
"""Store loc/rot/scale/bbone values in the Action.""" """Store loc/rot/scale/bbone values in the Action."""
...@@ -146,13 +145,6 @@ class PoseActionCreator: ...@@ -146,13 +145,6 @@ class PoseActionCreator:
dst_fcurve.keyframe_points.insert(self.params.src_frame_nr, value=value) dst_fcurve.keyframe_points.insert(self.params.src_frame_nr, value=value)
dst_fcurve.update() dst_fcurve.update()
def _store_parameters_from_callback(self, dst_action: Action) -> None:
"""Store extra parameters in the pose based on arbitrary callbacks.
Not implemented yet, needs a proper design & some user stories.
"""
pass
def _store_location(self, dst_action: Action, bone_name: str) -> None: def _store_location(self, dst_action: Action, bone_name: str) -> None:
"""Store bone location.""" """Store bone location."""
self._store_bone_array(dst_action, bone_name, "location", 3) self._store_bone_array(dst_action, bone_name, "location", 3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment