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:
Diffstat (limited to 'pose_library/pose_creation.py')
-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