Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2022-10-03 17:13:54 +0300
committerSybren A. Stüvel <sybren@blender.org>2022-10-03 17:13:54 +0300
commite374d4779ac3fd1ce3f72544c98b0e6ea49b4cbe (patch)
tree95870b43a1587c3e622451c56b0f971daea7167e
parent9a87195949ccad14e2de83fb563064725760b2ad (diff)
Pose Library: remove unused function
Remove `PoseActionCreator._store_parameters_from_callback()`, as it doesn't have any current use. No functional changes.
-rw-r--r--pose_library/pose_creation.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/pose_library/pose_creation.py b/pose_library/pose_creation.py
index 0b1d086f..178f61b5 100644
--- a/pose_library/pose_creation.py
+++ b/pose_library/pose_creation.py
@@ -98,7 +98,6 @@ class PoseActionCreator:
"""Store the current pose into the given action."""
self._store_bone_pose_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:
"""Store loc/rot/scale/bbone values in the Action."""
@@ -146,13 +145,6 @@ class PoseActionCreator:
dst_fcurve.keyframe_points.insert(self.params.src_frame_nr, value=value)
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:
"""Store bone location."""
self._store_bone_array(dst_action, bone_name, "location", 3)