Bone relation lines: draw between axis points #105427

Manually merged
Sybren A. Stüvel merged 14 commits from dr.sybren/blender:anim/bone-relation-lines into main 2023-03-21 15:19:48 +01:00

14 Commits

Author SHA1 Message Date
Sybren A. Stüvel dda6a4d1c9 Rename to `draw_bone_bone_relationship_line` and remove unused parameter 2023-03-21 15:11:15 +01:00
Sybren A. Stüvel e8559b09c3 Merge remote-tracking branch 'origin/main' into anim/bone-relation-lines 2023-03-21 15:06:04 +01:00
Sybren A. Stüvel 1f77c74f44 Merge remote-tracking branch 'origin/main' into anim/bone-relation-lines 2023-03-14 18:23:25 +01:00
Sybren A. Stüvel a2aca48300 Use `eArmature_Flag` enum 2023-03-14 18:22:49 +01:00
Sybren A. Stüvel 26da52d65d Make ENUM value in Python all-caps
buildbot/vexp-code-patch-coordinator Build done. Details
So `Tail` → `TAIL`.
2023-03-13 11:51:23 +01:00
Sybren A. Stüvel a74fb8ab06 Merge remote-tracking branch 'origin/main' into anim/bone-relation-lines 2023-03-13 11:45:41 +01:00
Sybren A. Stüvel 640c6d9fc9 Merge remote-tracking branch 'origin/main' into anim/bone-relation-lines
buildbot/vexp-code-patch-coordinator Build done. Details
2023-03-10 13:12:28 +01:00
Sybren A. Stüvel de0a68f272 Replace the 0-1 slider with an armature flag
The choice between drawing relation lines from the parent head or tail is
now a bitflag on the armature. There were plenty of unused flags left, so
it now doesn't take up any space any more.

The flag is wrapped in an RNA enum, so that there are distinct choices
'Head' and 'Tail'. This is preferred over a single checkbox.
2023-03-10 13:11:56 +01:00
Sybren A. Stüvel 0ca7afa9a1 Add separate slider for bone parent-child relationship lines
buildbot/vexp-code-patch-coordinator Build done. Details
2023-03-07 12:08:01 +01:00
Sybren A. Stüvel 1aeaf415b1 Merge remote-tracking branch 'origin/main' into anim/bone-relation-lines 2023-03-07 11:48:50 +01:00
Sybren A. Stüvel 45e5e76c4f Merge remote-tracking branch 'origin/main' into anim/bone-relation-lines 2023-03-07 11:32:32 +01:00
Sybren A. Stüvel 8387558f23 Always draw the child-side of the relation at the bone head
buildbot/vexp-code-patch-coordinator Build done. Details
Feedback from @JasonSchleifer
2023-03-06 18:03:19 +01:00
Sybren A. Stüvel aec3e42612 Merge remote-tracking branch 'origin/main' into anim/bone-relation-lines
buildbot/vexp-code-patch-coordinator Build done. Details
2023-03-06 15:10:20 +01:00
Sybren A. Stüvel bda5c38e6f Bone relation lines: draw between axis points
buildbot/vexp-code-patch-coordinator Build done. Details
Change how bone relation lines are drawn. Instead of drawing from the head
of the child to the tail of the parent, use the "axis points" as start/end
point of the lines. This is the point used to draw the bone axes, and
thus can be modified via the "Axes Position" setting.
2023-03-04 01:11:34 +01:00