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:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-10-22 17:24:04 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-11-02 11:57:47 +0300
commitb9a821bf6045f36c20c6a52f87a2f79e4bfde257 (patch)
treecc83c20cc3f014b0180f23b4ed8ba66cfe73c542 /rigify/rigs/chain_rigs.py
parentaf18f8d5695cc392f22124d5aaf7c20639577a12 (diff)
Rigify: switch the human metarig from simple_tentacle to super_finger.
For better compatibility, support the Tweak layer assignment in super_finger for the detail controls, and allow changing the B-Bone resolution.
Diffstat (limited to 'rigify/rigs/chain_rigs.py')
-rw-r--r--rigify/rigs/chain_rigs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rigify/rigs/chain_rigs.py b/rigify/rigs/chain_rigs.py
index 3f53cd69..fc070eb1 100644
--- a/rigify/rigs/chain_rigs.py
+++ b/rigify/rigs/chain_rigs.py
@@ -82,10 +82,10 @@ class SimpleChainRig(BaseRig):
@stage.generate_widgets
def make_control_widgets(self):
- for ctrl in self.bones.ctrl.fk:
- self.make_control_widget(ctrl)
+ for args in zip(count(0), self.bones.ctrl.fk):
+ self.make_control_widget(*args)
- def make_control_widget(self, ctrl):
+ def make_control_widget(self, i, ctrl):
create_bone_widget(self.obj, ctrl)
##############################