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:
authorPatrick Huang <phuang1024>2022-07-11 12:40:09 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2022-07-11 12:40:54 +0300
commite5d8781f544326a59c7892da2adf35a5ba815c02 (patch)
tree79a83b91fed339380d8820fd6bf7d709b3e724d1
parent45f57152bb19f2d5e8f4f7edcc337fd5dcf578f8 (diff)
Fix T99335: Rigify horse has wrong parents.
Set parent of eye and nose bones to head instead of left ear. Differential Revision: https://developer.blender.org/D15347
-rw-r--r--rigify/metarigs/Animals/horse.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rigify/metarigs/Animals/horse.py b/rigify/metarigs/Animals/horse.py
index cd393c5c..c9be9d54 100644
--- a/rigify/metarigs/Animals/horse.py
+++ b/rigify/metarigs/Animals/horse.py
@@ -618,28 +618,28 @@ def create(obj):
bone.tail = 0.1990, -1.4668, 1.7420
bone.roll = 0.0000
bone.use_connect = False
- bone.parent = arm.edit_bones[bones['ear.L']]
+ bone.parent = arm.edit_bones[bones['head']]
bones['eye.L'] = bone.name
bone = arm.edit_bones.new('nose.L')
bone.head = 0.0450, -1.6240, 1.4228
bone.tail = 0.1039, -1.6613, 1.4269
bone.roll = 0.0000
bone.use_connect = False
- bone.parent = arm.edit_bones[bones['ear.L']]
+ bone.parent = arm.edit_bones[bones['head']]
bones['nose.L'] = bone.name
bone = arm.edit_bones.new('eye.R')
bone.head = -0.0988, -1.4596, 1.7351
bone.tail = -0.1990, -1.4668, 1.7420
bone.roll = -0.0000
bone.use_connect = False
- bone.parent = arm.edit_bones[bones['ear.L']]
+ bone.parent = arm.edit_bones[bones['head']]
bones['eye.R'] = bone.name
bone = arm.edit_bones.new('nose.R')
bone.head = -0.0450, -1.6240, 1.4228
bone.tail = -0.1039, -1.6613, 1.4269
bone.roll = -0.0000
bone.use_connect = False
- bone.parent = arm.edit_bones[bones['ear.L']]
+ bone.parent = arm.edit_bones[bones['head']]
bones['nose.R'] = bone.name
bone = arm.edit_bones.new('ear.R.001')
bone.head = -0.1056, -1.4118, 1.9537