Page MenuHome

Fix T60421: Bone heads are hidden when non-connected parent is hidden
ClosedPublic

Authored by Sebastian Parborg (zeddb) on Jan 11 2019, 8:35 PM.

Details

Summary

I've changed it so that the root point of a bone is always drawn unless it is connected to an other bone.

For me personally, I think that if the bone is not connected, the root point should be visible (and thus easily editable) if it is not connected to a hidden parent bone.

@Clément Foucault (fclem) I saw that it was this way from the beginning of the new drawing code, so I'm sorry if this has already been discussed and I'm trying to change some already decided design decisions.

In the same vein, perhaps we should hide the tip of the bone if the child has been hidden and is connected?
So we have the visual cue in that direction too (?).

(This is both drawing and UI I feel so I've assigned both brecht and clem to this, hope this is ok)

Diff Detail

Repository
rB Blender

Event Timeline

The patch does not apply anymore.
Otherwise it looks good. The changes make sense to me.
If the bone is not connected to its parent, it feels wrong that the parent visibility impacts the visibility of the bone.

This revision is now accepted and ready to land.Mar 27 2019, 3:34 PM
This revision was automatically updated to reflect the committed changes.