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
This commit is contained in:
Patrick Huang 2022-07-11 12:40:09 +03:00 committed by Alexander Gavrilov
parent 45f57152bb
commit e5d8781f54
Notes: blender-bot 2023-02-14 18:18:17 +01:00
Referenced by issue #99335, Problem with rigify horse armature bone parenting
1 changed files with 4 additions and 4 deletions

View File

@ -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