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@stuvel.eu>2021-07-05 18:31:57 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2021-07-05 18:31:57 +0300
commita7838b9b29bb6cd02f306931cae2588b4e548fa8 (patch)
tree86e36755c82c7f6dc103dcd70c502b0b1d3fd5cc
parentde934521d56b0d6a882d5bee185ae20287be17e4 (diff)
Cleanup: Pose Library, formatting
Reformat with Black. No functional changes.
-rw-r--r--pose_library/pose_creation.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pose_library/pose_creation.py b/pose_library/pose_creation.py
index 990f5f59..da72ed64 100644
--- a/pose_library/pose_creation.py
+++ b/pose_library/pose_creation.py
@@ -188,10 +188,10 @@ class PoseActionCreator:
def _store_bbone(self, dst_action: Action, bone_name: str) -> None:
"""Store bendy-bone parameters."""
for prop_name, array_length in self._bbone_props:
- if array_length:
- self._store_bone_array(dst_action, bone_name, prop_name, array_length)
- else:
- self._store_bone_property(dst_action, bone_name, prop_name)
+ if array_length:
+ self._store_bone_array(dst_action, bone_name, prop_name, array_length)
+ else:
+ self._store_bone_property(dst_action, bone_name, prop_name)
def _store_bone_array(
self, dst_action: Action, bone_name: str, property_name: str, array_length: int