Parenting facial features to armature (bug?)

Just been tearing my hair out trying to parent some facial features (polyhair, facial hair, eyeballs etc) to character armature.

Since the DEF bones were hidden I was trying to do it in the relations panel, and had things flying in all sorts of directions and deforming very strangely.

I saw a suggestion somewhere that this could cause probs, so I made the DEF bones visible and did ctrl-P–bone in the 3d view. All OK.

Should I report this as a bug? It nearly made my head explode :spin::spin:

I don’t think it is a bug. Blender is not set up to do parenting in Outliner.

No I didn’t mean the outliner, just the relations editor:


To me it seems like changes between here and the 3d editor should be unambiguously connected and equivalent.

hi Hammer,
i need one help from you
i have custom script and it is working as per my requirement, i need batch script for that custom Script
(define (script-fu-sg-kumar-kovuru image layer)
(let* ((width (car (gimp-drawable-width layer)))
(height (car (gimp-drawable-height layer)))
(aspect (/ height width))
)
(gimp-image-undo-group-start image)
(gimp-context-push)
(if (< (/ 300 width) (/ 300 height))
(gimp-layer-scale layer
300
(* 300 aspect)
TRUE)
(gimp-layer-scale layer
(/ 300 aspect)
300
TRUE ))
(gimp-context-set-background '(255 255 255))
(gimp-layer-resize layer
320
320
(/ (- 320 (car (gimp-drawable-width layer))) 2)
(/ (- 320 (car (gimp-drawable-height layer))) 2))
(gimp-layer-flatten layer)
(gimp-image-resize-to-layers image) ; Uncomment if image should be scaled
(gimp-context-pop)
(gimp-image-undo-group-end image)
(gimp-displays-flush)
)
)
(script-fu-register “script-fu-sg-kumar-kovuru”
“Scale layer per Kumar Kovuru”
“Fit layer in 300x300 with white border”
“Saul Goode”
“Saul Goode”
“September 2013”
“RGB*,GRAY*”
SF-IMAGE “Image” 0
SF-DRAWABLE “Drawable” 0
)

(script-fu-menu-register “script-fu-sg-kumar-kovuru”
“<Image>/Filters/Misc/”
)

this is the script code (define (script-fu-sg-kumar-kovuru image layer)
(let* ((width (car (gimp-drawable-width layer)))
(height (car (gimp-drawable-height layer)))
(aspect (/ height width))
)
(gimp-image-undo-group-start image)
(gimp-context-push)
(if (< (/ 300 width) (/ 300 height))
(gimp-layer-scale layer
300
(* 300 aspect)
TRUE)
(gimp-layer-scale layer
(/ 300 aspect)
300
TRUE ))
(gimp-context-set-background '(255 255 255))
(gimp-layer-resize layer
320
320
(/ (- 320 (car (gimp-drawable-width layer))) 2)
(/ (- 320 (car (gimp-drawable-height layer))) 2))
(gimp-layer-flatten layer)
(gimp-image-resize-to-layers image) ; Uncomment if image should be scaled
(gimp-context-pop)
(gimp-image-undo-group-end image)
(gimp-displays-flush)
)
)
(script-fu-register “script-fu-sg-kumar-kovuru”
“Scale layer per Kumar Kovuru”
“Fit layer in 300x300 with white border”
“Saul Goode”
“Saul Goode”
“September 2013”
“RGB*,GRAY*”
SF-IMAGE “Image” 0
SF-DRAWABLE “Drawable” 0
)

(script-fu-menu-register “script-fu-sg-kumar-kovuru”
“<Image>/Filters/Misc/”
)

Sorry Kumar, you lost me there. I’m not the person to ask for scripting advice in the least, and this doesn’t seem to relate to my OP.

Is this even Blender related? Better call Saul :wink:

Since the DEF bones were hidden

When I use bone layer to hide the rig parts, all bone shows up under Relations, Parent. How did you hide the bone? Did you use bone layers?

From memory it was through bone layers, though using the bone layer management addon.

It wasn’t so much that the relations didn’t exist or get created, just that in the creating of the relation, it seemed to behave differently when created in the 3d view as opposed to the relations panel.

Maybe when I’ve got some spare time I’ll try to recreate this scenario and post a bug report.