[Bf-extensions-cvs] [e5d8781f] master: Fix T99335: Rigify horse has wrong parents.

Patrick Huang noreply at git.blender.org
Mon Jul 11 11:41:58 CEST 2022


Commit: e5d8781f544326a59c7892da2adf35a5ba815c02
Author: Patrick Huang
Date:   Mon Jul 11 12:40:09 2022 +0300
Branches: master
https://developer.blender.org/rBAe5d8781f544326a59c7892da2adf35a5ba815c02

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

===================================================================

M	rigify/metarigs/Animals/horse.py

===================================================================

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



More information about the Bf-extensions-cvs mailing list