Restore iTaSC UI.

This commit is contained in:
Benoit Bolsee 2010-03-07 09:53:59 +00:00
parent b237dc3af5
commit 447cd8d791
2 changed files with 9 additions and 6 deletions

@ -257,6 +257,9 @@ class BONE_PT_inverse_kinematics(BoneButtonsPanel):
pchan = ob.pose.bones[bone.name]
wide_ui = context.region.width > narrowui
row = layout.row()
row.prop(ob.pose, "ik_solver")
split = layout.split(percentage=0.25)
split.prop(pchan, "ik_dof_x", text="X")
split.active = pchan.has_ik

@ -97,12 +97,12 @@ class ConstraintButtonsPanel(bpy.types.Panel):
split = layout.split(percentage=0.33)
col = split.column()
col.prop(con, "tail")
col.prop(con, "stretch")
col.prop(con, "use_tail")
col.prop(con, "use_stretch")
col = split.column()
col.prop(con, "chain_length")
col.prop(con, "targetless")
col.prop(con, "use_target")
def CHILD_OF(self, context, layout, con, wide_ui):
self.target_template(layout, con, wide_ui)
@ -205,10 +205,10 @@ class ConstraintButtonsPanel(bpy.types.Panel):
row.label(text="Axis Ref:")
row.prop(con, "axis_reference", expand=True)
split = layout.split(percentage=0.33)
split.row().prop(con, "position")
split.row().prop(con, "use_position")
row = split.row()
row.prop(con, "weight", text="Weight", slider=True)
row.active = con.position
row.active = con.use_position
split = layout.split(percentage=0.33)
row = split.row()
row.label(text="Lock:")
@ -219,7 +219,7 @@ class ConstraintButtonsPanel(bpy.types.Panel):
split.active = con.use_position
split = layout.split(percentage=0.33)
split.row().prop(con, "rotation")
split.row().prop(con, "use_rotation")
row = split.row()
row.prop(con, "orient_weight", text="Weight", slider=True)
row.active = con.use_rotation