The added functionality was from a request from a rigger friend of mine. As a rigger, he and most other riggers he works with find that usually when you display axis, you expect them to be at the root of the bone (like you'd expect the axis to be at the origin of an object) vs the tip. However, there was a concern that having the axis at the root of the bone would get hidden in areas where there are plenty of other bones in the same area. So, the proposed fix is to have the axis be able to be moved from the root to tip of the bone and leave the positioning up to the rigger.
Right now, the axis position is in the same UI as the show axis property. From my understanding, it sounds like the UI team wants to keep those two elements close together. Also, the current default islider is a percentage, since that makes the root,most sense to me. but I have it set to the tip (I think).Lastly, I'll need some help with settthe UI is borrowing what isfrom the default in codecamera passepartout, and which default is preferred (root or tip)generally I'm trying to follow Blender UI conventions as closely as I can.
Screenshot: {F9858975}TODO:
- Make the default explicit. It is currently implicitly the root, but I think it is best to have that explicit. I don't know where the code is to do that, so having some help will be greatly appreciated.
- There's some discussion in the revision about having the axis position live elsewhere asides from on the armature. I'm okay with how it is now or the other suggested way, but if we move it off the armature, I'll need to get some guidance on where to put it and how to hook it up with the axis display.
- Right now the axis position is a percentage from 0 - 100. I would like it so that when we do `armature.axes_position`, it'll return 0 - 1, but be 0 - 100 in the UI. I don't know if that's possible or advised, though. Also, I can switch away from a percentage if that doesn't make sense as is.
Screenshot: {F9864185}