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:
authorCampbell Barton <ideasman42@gmail.com>2016-07-20 20:15:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-07-20 20:47:40 +0300
commitf862db54403067248a3ca00edc5eec4935b3228b (patch)
tree66ebed979754ce45ba27d3a79560e128c10a4da0 /rigify/metarigs
parent231c56509ea0fe81a5c6b67336362f7a81abcc55 (diff)
Rigify updates and fixes
D2114 by @icappiello Sanitize float rounding error
Diffstat (limited to 'rigify/metarigs')
-rw-r--r--rigify/metarigs/pitchipoy_human.py64
1 files changed, 32 insertions, 32 deletions
diff --git a/rigify/metarigs/pitchipoy_human.py b/rigify/metarigs/pitchipoy_human.py
index 108a98bb..56748768 100644
--- a/rigify/metarigs/pitchipoy_human.py
+++ b/rigify/metarigs/pitchipoy_human.py
@@ -277,8 +277,8 @@ def create(obj):
bone.parent = arm.edit_bones[bones['forearm.R']]
bones['hand.R'] = bone.name
bone = arm.edit_bones.new('nose')
- bone.head[:] = 0.0006, -0.1536, 1.8978
- bone.tail[:] = 0.0006, -0.1834, 1.8589
+ bone.head[:] = 0.0000, -0.1536, 1.8978
+ bone.tail[:] = 0.0000, -0.1834, 1.8589
bone.roll = 0.0000
bone.use_connect = False
bone.parent = arm.edit_bones[bones['face']]
@@ -298,8 +298,8 @@ def create(obj):
bone.parent = arm.edit_bones[bones['face']]
bones['lip.B.L'] = bone.name
bone = arm.edit_bones.new('jaw')
- bone.head[:] = 0.0006, -0.0945, 1.7439
- bone.tail[:] = 0.0006, -0.1519, 1.7392
+ bone.head[:] = 0.0000, -0.0945, 1.7439
+ bone.tail[:] = 0.0000, -0.1519, 1.7392
bone.roll = 0.0000
bone.use_connect = False
bone.parent = arm.edit_bones[bones['face']]
@@ -403,22 +403,22 @@ def create(obj):
bone.parent = arm.edit_bones[bones['face']]
bones['cheek.T.R'] = bone.name
bone = arm.edit_bones.new('teeth.T')
- bone.head[:] = 0.0006, -0.1568, 1.8214
- bone.tail[:] = 0.0006, -0.1112, 1.8214
+ bone.head[:] = 0.0000, -0.1568, 1.8214
+ bone.tail[:] = 0.0000, -0.1112, 1.8214
bone.roll = 0.0000
bone.use_connect = False
bone.parent = arm.edit_bones[bones['face']]
bones['teeth.T'] = bone.name
bone = arm.edit_bones.new('teeth.B')
- bone.head[:] = 0.0006, -0.1500, 1.7892
- bone.tail[:] = 0.0006, -0.1043, 1.7892
+ bone.head[:] = 0.0000, -0.1500, 1.7892
+ bone.tail[:] = 0.0000, -0.1043, 1.7892
bone.roll = 0.0000
bone.use_connect = False
bone.parent = arm.edit_bones[bones['face']]
bones['teeth.B'] = bone.name
bone = arm.edit_bones.new('tongue')
- bone.head[:] = 0.0006, -0.1354, 1.7946
- bone.tail[:] = 0.0006, -0.1101, 1.8002
+ bone.head[:] = 0.0000, -0.1354, 1.7946
+ bone.tail[:] = 0.0000, -0.1101, 1.8002
bone.roll = 0.0000
bone.use_connect = False
bone.parent = arm.edit_bones[bones['face']]
@@ -480,8 +480,8 @@ def create(obj):
bone.parent = arm.edit_bones[bones['hand.R']]
bones['palm.04.R'] = bone.name
bone = arm.edit_bones.new('nose.001')
- bone.head[:] = 0.0006, -0.1834, 1.8589
- bone.tail[:] = 0.0006, -0.1965, 1.8450
+ bone.head[:] = 0.0000, -0.1834, 1.8589
+ bone.tail[:] = 0.0000, -0.1965, 1.8450
bone.roll = 0.0000
bone.use_connect = True
bone.parent = arm.edit_bones[bones['nose']]
@@ -501,8 +501,8 @@ def create(obj):
bone.parent = arm.edit_bones[bones['lip.B.L']]
bones['lip.B.L.001'] = bone.name
bone = arm.edit_bones.new('chin')
- bone.head[:] = 0.0006, -0.1519, 1.7392
- bone.tail[:] = 0.0006, -0.1634, 1.7692
+ bone.head[:] = 0.0000, -0.1519, 1.7392
+ bone.tail[:] = 0.0000, -0.1634, 1.7692
bone.roll = 0.0000
bone.use_connect = True
bone.parent = arm.edit_bones[bones['jaw']]
@@ -592,8 +592,8 @@ def create(obj):
bone.parent = arm.edit_bones[bones['cheek.T.R']]
bones['cheek.T.R.001'] = bone.name
bone = arm.edit_bones.new('tongue.001')
- bone.head[:] = 0.0006, -0.1101, 1.8002
- bone.tail[:] = 0.0006, -0.0761, 1.7949
+ bone.head[:] = 0.0000, -0.1101, 1.8002
+ bone.tail[:] = 0.0000, -0.0761, 1.7949
bone.roll = 0.0000
bone.use_connect = True
bone.parent = arm.edit_bones[bones['tongue']]
@@ -669,15 +669,15 @@ def create(obj):
bone.parent = arm.edit_bones[bones['palm.04.R']]
bones['f_pinky.01.R'] = bone.name
bone = arm.edit_bones.new('nose.002')
- bone.head[:] = 0.0006, -0.1965, 1.8450
- bone.tail[:] = 0.0006, -0.1854, 1.8402
+ bone.head[:] = 0.0000, -0.1965, 1.8450
+ bone.tail[:] = 0.0000, -0.1854, 1.8402
bone.roll = 0.0000
bone.use_connect = True
bone.parent = arm.edit_bones[bones['nose.001']]
bones['nose.002'] = bone.name
bone = arm.edit_bones.new('chin.001')
- bone.head[:] = 0.0006, -0.1634, 1.7692
- bone.tail[:] = 0.0006, -0.1599, 1.7909
+ bone.head[:] = 0.0000, -0.1634, 1.7692
+ bone.tail[:] = 0.0000, -0.1599, 1.7909
bone.roll = 0.0000
bone.use_connect = True
bone.parent = arm.edit_bones[bones['chin']]
@@ -753,8 +753,8 @@ def create(obj):
bone.parent = arm.edit_bones[bones['cheek.T.R.001']]
bones['nose.R'] = bone.name
bone = arm.edit_bones.new('tongue.002')
- bone.head[:] = 0.0006, -0.0761, 1.7949
- bone.tail[:] = 0.0006, -0.0538, 1.7673
+ bone.head[:] = 0.0000, -0.0761, 1.7949
+ bone.tail[:] = 0.0000, -0.0538, 1.7673
bone.roll = 0.0000
bone.use_connect = True
bone.parent = arm.edit_bones[bones['tongue.001']]
@@ -830,8 +830,8 @@ def create(obj):
bone.parent = arm.edit_bones[bones['f_pinky.01.R']]
bones['f_pinky.02.R'] = bone.name
bone = arm.edit_bones.new('nose.003')
- bone.head[:] = 0.0006, -0.1854, 1.8402
- bone.tail[:] = 0.0006, -0.1706, 1.8393
+ bone.head[:] = 0.0000, -0.1854, 1.8402
+ bone.tail[:] = 0.0000, -0.1706, 1.8393
bone.roll = 0.0000
bone.use_connect = True
bone.parent = arm.edit_bones[bones['nose.002']]
@@ -894,14 +894,14 @@ def create(obj):
bones['temple.R'] = bone.name
bone = arm.edit_bones.new('nose.L.001')
bone.head[:] = 0.0176, -0.1627, 1.8429
- bone.tail[:] = 0.0006, -0.1965, 1.8450
+ bone.tail[:] = 0.0000, -0.1965, 1.8450
bone.roll = 0.1070
bone.use_connect = True
bone.parent = arm.edit_bones[bones['nose.L']]
bones['nose.L.001'] = bone.name
bone = arm.edit_bones.new('nose.R.001')
bone.head[:] = -0.0176, -0.1627, 1.8429
- bone.tail[:] = -0.0006, -0.1965, 1.8450
+ bone.tail[:] = -0.0000, -0.1965, 1.8450
bone.roll = -0.1070
bone.use_connect = True
bone.parent = arm.edit_bones[bones['nose.R']]
@@ -977,8 +977,8 @@ def create(obj):
bone.parent = arm.edit_bones[bones['f_pinky.02.R']]
bones['f_pinky.03.R'] = bone.name
bone = arm.edit_bones.new('nose.004')
- bone.head[:] = 0.0006, -0.1706, 1.8393
- bone.tail[:] = 0.0006, -0.1698, 1.8244
+ bone.head[:] = 0.0000, -0.1706, 1.8393
+ bone.tail[:] = 0.0000, -0.1698, 1.8244
bone.roll = 0.0000
bone.use_connect = True
bone.parent = arm.edit_bones[bones['nose.003']]
@@ -1167,14 +1167,14 @@ def create(obj):
bones['brow.T.R.002'] = bone.name
bone = arm.edit_bones.new('brow.T.L.003')
bone.head[:] = 0.0215, -0.1546, 1.9144
- bone.tail[:] = 0.0004, -0.1536, 1.8978
+ bone.tail[:] = 0.0000, -0.1536, 1.8978
bone.roll = -0.0423
bone.use_connect = True
bone.parent = arm.edit_bones[bones['brow.T.L.002']]
bones['brow.T.L.003'] = bone.name
bone = arm.edit_bones.new('brow.T.R.003')
bone.head[:] = -0.0215, -0.1546, 1.9144
- bone.tail[:] = -0.0004, -0.1536, 1.8978
+ bone.tail[:] = 0.0000, -0.1536, 1.8978
bone.roll = 0.0423
bone.use_connect = True
bone.parent = arm.edit_bones[bones['brow.T.R.002']]
@@ -1718,7 +1718,7 @@ def create(obj):
pbone.rotation_mode = 'QUATERNION'
pbone.bone.layers = [True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False]
pbone = obj.pose.bones[bones['palm.01.L']]
- pbone.rigify_type = 'palm'
+ pbone.rigify_type = 'pitchipoy.super_palm'
pbone.lock_location = (False, False, False)
pbone.lock_rotation = (False, False, False)
pbone.lock_rotation_w = False
@@ -1750,7 +1750,7 @@ def create(obj):
pbone.rotation_mode = 'YXZ'
pbone.bone.layers = [False, False, False, False, False, True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False]
pbone = obj.pose.bones[bones['palm.01.R']]
- pbone.rigify_type = 'palm'
+ pbone.rigify_type = 'pitchipoy.super_palm'
pbone.lock_location = (False, False, False)
pbone.lock_rotation = (False, False, False)
pbone.lock_rotation_w = False