diff options
Diffstat (limited to 'release/scripts/modules/rigify/stretch.py')
-rw-r--r-- | release/scripts/modules/rigify/stretch.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/release/scripts/modules/rigify/stretch.py b/release/scripts/modules/rigify/stretch.py index 0902b108def..1c3d317b4b1 100644 --- a/release/scripts/modules/rigify/stretch.py +++ b/release/scripts/modules/rigify/stretch.py @@ -41,19 +41,18 @@ RIG_TYPE = "stretch" # pbone = obj.pose.bones['Bone'] # pbone['type'] = 'copy' -bool_map = {0:False, 1:True, - 0.0:False, 1.0:True, - "false":False, "true":True, - "False":False, "True":True, - "no":False, "yes":True, - "No":False, "Yes":True} +bool_map = {0: False, 1: True, + 0.0: False, 1.0: True, + "false": False, "true": True, + "False": False, "True": True, + "no": False, "yes": True, + "No": False, "Yes": True} + def metarig_definition(obj, orig_bone_name): return (orig_bone_name,) - - def main(obj, bone_definition, base_names, options): """ A stretchy bone from one bone to another. Deformation only (no controls). @@ -108,4 +107,3 @@ def main(obj, bone_definition, base_names, options): con.volume = 'NO_VOLUME' return tuple() - |