obscure feature: Display Custom Bone Shape at another bones transform.

Brecht and I took a fair bit of convincing on this one however Cessen was jumping through hoops to do without this feature.
Having the shape being an external mesh deformed by its own armature, which were both hidden but in the same layer *(so the depgraph would update them).
Without this some of the bones in the rig also dont make much sense when animating with.
This commit is contained in:
Campbell Barton
2010-01-05 11:47:43 +00:00
parent 52a2b82852
commit cce1d178b8
6 changed files with 28 additions and 3 deletions

View File

@@ -223,8 +223,11 @@ class BONE_PT_display(BoneButtonsPanel):
if wide_ui:
col = split.column()
col.label(text="Custom Shape:")
col.prop(pchan, "custom_shape", text="")
if pchan.custom_shape:
col.prop_object(pchan, "custom_shape_transform", ob.pose, "bones", text="")
class BONE_PT_inverse_kinematics(BoneButtonsPanel):