diff options
Diffstat (limited to 'release/scripts/ui/properties_data_bone.py')
-rw-r--r-- | release/scripts/ui/properties_data_bone.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_data_bone.py b/release/scripts/ui/properties_data_bone.py index a6bac3e6aaa..b6b638ef380 100644 --- a/release/scripts/ui/properties_data_bone.py +++ b/release/scripts/ui/properties_data_bone.py @@ -20,7 +20,7 @@ import bpy from rna_prop_ui import PropertyPanel -narrowui = 180 +narrowui = bpy.context.user_preferences.view.properties_width_check class BoneButtonsPanel(bpy.types.Panel): @@ -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 |