2009-11-01 15:21:20 +00:00
|
|
|
# ##### BEGIN GPL LICENSE BLOCK #####
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
2009-11-03 07:23:02 +00:00
|
|
|
#
|
2009-11-01 15:21:20 +00:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2009-11-03 07:23:02 +00:00
|
|
|
#
|
2009-11-01 15:21:20 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
|
|
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
#
|
|
|
|
# ##### END GPL LICENSE BLOCK #####
|
2009-10-31 20:16:59 +00:00
|
|
|
|
2009-10-31 23:35:56 +00:00
|
|
|
# <pep8 compliant>
|
2009-05-19 15:38:36 +00:00
|
|
|
import bpy
|
2009-10-31 19:31:45 +00:00
|
|
|
|
2009-11-12 21:44:35 +00:00
|
|
|
narrowui = 180
|
2009-10-31 23:35:56 +00:00
|
|
|
|
2009-11-14 13:35:44 +00:00
|
|
|
|
2009-05-28 23:45:50 +00:00
|
|
|
class BoneButtonsPanel(bpy.types.Panel):
|
2009-10-31 19:31:45 +00:00
|
|
|
bl_space_type = 'PROPERTIES'
|
|
|
|
bl_region_type = 'WINDOW'
|
|
|
|
bl_context = "bone"
|
|
|
|
|
|
|
|
def poll(self, context):
|
|
|
|
return (context.bone or context.edit_bone)
|
2009-05-20 02:17:53 +00:00
|
|
|
|
2009-10-31 23:35:56 +00:00
|
|
|
|
2009-07-09 09:42:34 +00:00
|
|
|
class BONE_PT_context_bone(BoneButtonsPanel):
|
2009-10-31 19:31:45 +00:00
|
|
|
bl_label = ""
|
|
|
|
bl_show_header = False
|
|
|
|
|
|
|
|
def draw(self, context):
|
|
|
|
layout = self.layout
|
|
|
|
|
|
|
|
bone = context.bone
|
|
|
|
if not bone:
|
|
|
|
bone = context.edit_bone
|
|
|
|
|
|
|
|
row = layout.row()
|
2009-12-10 10:23:53 +00:00
|
|
|
row.label(text="", icon='BONE_DATA')
|
2009-11-23 00:27:30 +00:00
|
|
|
row.prop(bone, "name", text="")
|
2009-07-09 09:07:25 +00:00
|
|
|
|
2009-10-31 23:35:56 +00:00
|
|
|
|
2009-07-14 17:59:26 +00:00
|
|
|
class BONE_PT_transform(BoneButtonsPanel):
|
2009-10-31 19:31:45 +00:00
|
|
|
bl_label = "Transform"
|
|
|
|
|
|
|
|
def draw(self, context):
|
|
|
|
layout = self.layout
|
|
|
|
|
|
|
|
ob = context.object
|
|
|
|
bone = context.bone
|
2009-11-19 13:26:51 +00:00
|
|
|
wide_ui = context.region.width > narrowui
|
2009-11-14 13:35:44 +00:00
|
|
|
|
2009-10-31 19:31:45 +00:00
|
|
|
if not bone:
|
|
|
|
bone = context.edit_bone
|
2009-11-19 13:26:51 +00:00
|
|
|
if wide_ui:
|
2009-11-12 21:44:35 +00:00
|
|
|
row = layout.row()
|
2009-11-23 00:27:30 +00:00
|
|
|
row.column().prop(bone, "head")
|
|
|
|
row.column().prop(bone, "tail")
|
2009-11-14 13:35:44 +00:00
|
|
|
|
2009-11-12 21:44:35 +00:00
|
|
|
col = row.column()
|
|
|
|
sub = col.column(align=True)
|
2009-11-23 00:27:30 +00:00
|
|
|
sub.label(text="Roll:")
|
|
|
|
sub.prop(bone, "roll", text="")
|
|
|
|
sub.label()
|
|
|
|
sub.prop(bone, "locked")
|
2009-11-12 21:44:35 +00:00
|
|
|
else:
|
|
|
|
col = layout.column()
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(bone, "head")
|
|
|
|
col.prop(bone, "tail")
|
|
|
|
col.prop(bone, "roll")
|
|
|
|
col.prop(bone, "locked")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
else:
|
2009-11-18 11:50:31 +00:00
|
|
|
pchan = ob.pose.bones[context.bone.name]
|
2009-11-14 13:35:44 +00:00
|
|
|
|
2009-11-19 13:26:51 +00:00
|
|
|
if wide_ui:
|
2009-11-12 21:44:35 +00:00
|
|
|
row = layout.row()
|
|
|
|
col = row.column()
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "location")
|
2009-11-12 21:44:35 +00:00
|
|
|
col.active = not (bone.parent and bone.connected)
|
2009-11-14 13:35:44 +00:00
|
|
|
|
2009-11-12 21:44:35 +00:00
|
|
|
col = row.column()
|
|
|
|
if pchan.rotation_mode == 'QUATERNION':
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "rotation_quaternion", text="Rotation")
|
2009-11-12 21:44:35 +00:00
|
|
|
elif pchan.rotation_mode == 'AXIS_ANGLE':
|
2009-11-23 00:27:30 +00:00
|
|
|
#col.label(text="Rotation")
|
|
|
|
#col.prop(pchan, "rotation_angle", text="Angle")
|
|
|
|
#col.prop(pchan, "rotation_axis", text="Axis")
|
|
|
|
col.prop(pchan, "rotation_axis_angle", text="Rotation")
|
2009-11-12 21:44:35 +00:00
|
|
|
else:
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "rotation_euler", text="Rotation")
|
2009-11-14 13:35:44 +00:00
|
|
|
|
2009-11-23 00:27:30 +00:00
|
|
|
row.column().prop(pchan, "scale")
|
2009-11-14 13:35:44 +00:00
|
|
|
|
2009-11-23 00:27:30 +00:00
|
|
|
layout.prop(pchan, "rotation_mode")
|
2009-10-31 19:31:45 +00:00
|
|
|
else:
|
2009-11-12 21:44:35 +00:00
|
|
|
col = layout.column()
|
|
|
|
sub = col.column()
|
|
|
|
sub.active = not (bone.parent and bone.connected)
|
2009-11-23 00:27:30 +00:00
|
|
|
sub.prop(pchan, "location")
|
|
|
|
col.label(text="Rotation:")
|
|
|
|
col.prop(pchan, "rotation_mode", text="")
|
2009-11-12 21:44:35 +00:00
|
|
|
if pchan.rotation_mode == 'QUATERNION':
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "rotation_quaternion", text="")
|
2009-11-12 21:44:35 +00:00
|
|
|
elif pchan.rotation_mode == 'AXIS_ANGLE':
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "rotation_axis_angle", text="")
|
2009-11-12 21:44:35 +00:00
|
|
|
else:
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "rotation_euler", text="")
|
|
|
|
col.prop(pchan, "scale")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
2009-10-31 23:35:56 +00:00
|
|
|
|
2009-09-12 12:30:23 +00:00
|
|
|
class BONE_PT_transform_locks(BoneButtonsPanel):
|
2009-10-31 19:31:45 +00:00
|
|
|
bl_label = "Transform Locks"
|
|
|
|
bl_default_closed = True
|
|
|
|
|
|
|
|
def poll(self, context):
|
|
|
|
return context.bone
|
|
|
|
|
|
|
|
def draw(self, context):
|
|
|
|
layout = self.layout
|
|
|
|
|
|
|
|
ob = context.object
|
|
|
|
bone = context.bone
|
2009-11-18 11:50:31 +00:00
|
|
|
pchan = ob.pose.bones[context.bone.name]
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
row = layout.row()
|
|
|
|
col = row.column()
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "lock_location")
|
2009-10-31 19:31:45 +00:00
|
|
|
col.active = not (bone.parent and bone.connected)
|
|
|
|
|
|
|
|
col = row.column()
|
|
|
|
if pchan.rotation_mode in ('QUATERNION', 'AXIS_ANGLE'):
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "lock_rotations_4d", text="Lock Rotation")
|
2009-10-31 19:31:45 +00:00
|
|
|
if pchan.lock_rotations_4d:
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "lock_rotation_w", text="W")
|
|
|
|
col.prop(pchan, "lock_rotation", text="")
|
2009-10-31 19:31:45 +00:00
|
|
|
else:
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(pchan, "lock_rotation", text="Rotation")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
2009-11-23 00:27:30 +00:00
|
|
|
row.column().prop(pchan, "lock_scale")
|
2009-07-14 12:32:19 +00:00
|
|
|
|
2009-10-31 23:35:56 +00:00
|
|
|
|
2009-10-03 11:19:14 +00:00
|
|
|
class BONE_PT_relations(BoneButtonsPanel):
|
2009-10-31 19:31:45 +00:00
|
|
|
bl_label = "Relations"
|
|
|
|
|
|
|
|
def draw(self, context):
|
|
|
|
layout = self.layout
|
|
|
|
|
|
|
|
ob = context.object
|
|
|
|
bone = context.bone
|
|
|
|
arm = context.armature
|
2009-11-19 13:26:51 +00:00
|
|
|
wide_ui = context.region.width > narrowui
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
if not bone:
|
|
|
|
bone = context.edit_bone
|
|
|
|
pchan = None
|
|
|
|
else:
|
2009-11-18 11:50:31 +00:00
|
|
|
pchan = ob.pose.bones[context.bone.name]
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
split = layout.split()
|
|
|
|
|
|
|
|
col = split.column()
|
2009-11-23 00:27:30 +00:00
|
|
|
col.label(text="Layers:")
|
|
|
|
col.prop(bone, "layer", text="")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
2009-11-23 00:27:30 +00:00
|
|
|
col.separator()
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
if ob and pchan:
|
2009-11-23 00:27:30 +00:00
|
|
|
col.label(text="Bone Group:")
|
2009-11-23 11:43:38 +00:00
|
|
|
col.prop_object(pchan, "bone_group", ob.pose, "bone_groups", text="")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
2009-11-19 13:26:51 +00:00
|
|
|
if wide_ui:
|
2009-11-12 21:44:35 +00:00
|
|
|
col = split.column()
|
2009-11-23 00:27:30 +00:00
|
|
|
col.label(text="Parent:")
|
2009-10-31 19:31:45 +00:00
|
|
|
if context.bone:
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(bone, "parent", text="")
|
2009-10-31 19:31:45 +00:00
|
|
|
else:
|
2009-11-23 11:43:38 +00:00
|
|
|
col.prop_object(bone, "parent", arm, "edit_bones", text="")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
sub = col.column()
|
2009-11-22 17:41:35 +00:00
|
|
|
sub.active = (bone.parent is not None)
|
2009-11-23 00:27:30 +00:00
|
|
|
sub.prop(bone, "connected")
|
|
|
|
sub.prop(bone, "hinge", text="Inherit Rotation")
|
|
|
|
sub.prop(bone, "inherit_scale", text="Inherit Scale")
|
2009-11-25 18:48:29 +00:00
|
|
|
sub = col.column()
|
|
|
|
sub.active = (not bone.parent or not bone.connected)
|
|
|
|
sub.prop(bone, "local_location", text="Local Location")
|
2009-10-31 23:35:56 +00:00
|
|
|
|
2009-11-28 23:37:56 +00:00
|
|
|
|
2009-10-03 11:19:14 +00:00
|
|
|
class BONE_PT_display(BoneButtonsPanel):
|
2009-10-31 19:31:45 +00:00
|
|
|
bl_label = "Display"
|
|
|
|
|
|
|
|
def poll(self, context):
|
|
|
|
return context.bone
|
|
|
|
|
|
|
|
def draw(self, context):
|
|
|
|
layout = self.layout
|
|
|
|
|
|
|
|
ob = context.object
|
|
|
|
bone = context.bone
|
2009-11-19 13:26:51 +00:00
|
|
|
wide_ui = context.region.width > narrowui
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
if not bone:
|
|
|
|
bone = context.edit_bone
|
|
|
|
pchan = None
|
|
|
|
else:
|
2009-11-18 11:50:31 +00:00
|
|
|
pchan = ob.pose.bones[context.bone.name]
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
if ob and pchan:
|
|
|
|
|
|
|
|
split = layout.split()
|
|
|
|
|
|
|
|
col = split.column()
|
2009-11-23 00:27:30 +00:00
|
|
|
col.prop(bone, "draw_wire", text="Wireframe")
|
|
|
|
col.prop(bone, "hidden", text="Hide")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
2009-11-19 13:26:51 +00:00
|
|
|
if wide_ui:
|
2009-11-12 21:44:35 +00:00
|
|
|
col = split.column()
|
2009-11-23 00:27:30 +00:00
|
|
|
col.label(text="Custom Shape:")
|
|
|
|
col.prop(pchan, "custom_shape", text="")
|
2009-07-09 09:07:25 +00:00
|
|
|
|
2009-12-14 20:56:19 +00:00
|
|
|
|
2009-12-14 03:01:42 +00:00
|
|
|
class BONE_PT_inverse_kinematics(BoneButtonsPanel):
|
|
|
|
bl_label = "Inverse Kinematics"
|
|
|
|
bl_default_closed = True
|
|
|
|
|
|
|
|
def poll(self, context):
|
2009-12-17 13:17:24 +00:00
|
|
|
return context.active_pose_bone
|
2009-12-14 03:01:42 +00:00
|
|
|
|
|
|
|
def draw(self, context):
|
|
|
|
layout = self.layout
|
|
|
|
|
|
|
|
ob = context.object
|
|
|
|
bone = context.bone
|
|
|
|
pchan = ob.pose.bones[bone.name]
|
|
|
|
wide_ui = context.region.width > narrowui
|
|
|
|
|
|
|
|
split = layout.split(percentage=0.25)
|
|
|
|
split.prop(pchan, "ik_dof_x", text="X")
|
|
|
|
split.active = pchan.has_ik
|
|
|
|
row = split.row()
|
|
|
|
row.prop(pchan, "ik_stiffness_x", text="Stiffness", slider=True)
|
|
|
|
row.active = pchan.ik_dof_x and pchan.has_ik
|
|
|
|
|
|
|
|
if wide_ui:
|
|
|
|
split = layout.split(percentage=0.25)
|
|
|
|
sub = split.row()
|
|
|
|
else:
|
|
|
|
sub = layout.column(align=True)
|
|
|
|
sub.prop(pchan, "ik_limit_x", text="Limit")
|
|
|
|
sub.active = pchan.ik_dof_x and pchan.has_ik
|
|
|
|
if wide_ui:
|
|
|
|
sub = split.row(align=True)
|
|
|
|
sub.prop(pchan, "ik_min_x", text="")
|
|
|
|
sub.prop(pchan, "ik_max_x", text="")
|
|
|
|
sub.active = pchan.ik_dof_x and pchan.ik_limit_x and pchan.has_ik
|
|
|
|
|
|
|
|
split = layout.split(percentage=0.25)
|
|
|
|
split.prop(pchan, "ik_dof_y", text="Y")
|
|
|
|
split.active = pchan.has_ik and pchan.has_ik
|
|
|
|
row = split.row()
|
|
|
|
row.prop(pchan, "ik_stiffness_y", text="Stiffness", slider=True)
|
|
|
|
row.active = pchan.ik_dof_y and pchan.has_ik
|
|
|
|
|
|
|
|
if wide_ui:
|
|
|
|
split = layout.split(percentage=0.25)
|
|
|
|
sub = split.row()
|
|
|
|
else:
|
|
|
|
sub = layout.column(align=True)
|
|
|
|
sub.prop(pchan, "ik_limit_y", text="Limit")
|
|
|
|
sub.active = pchan.ik_dof_y and pchan.has_ik
|
|
|
|
if wide_ui:
|
|
|
|
sub = split.row(align=True)
|
|
|
|
sub.prop(pchan, "ik_min_y", text="")
|
|
|
|
sub.prop(pchan, "ik_max_y", text="")
|
|
|
|
sub.active = pchan.ik_dof_y and pchan.ik_limit_y and pchan.has_ik
|
|
|
|
|
|
|
|
split = layout.split(percentage=0.25)
|
|
|
|
split.prop(pchan, "ik_dof_z", text="Z")
|
|
|
|
split.active = pchan.has_ik and pchan.has_ik
|
|
|
|
sub = split.row()
|
|
|
|
sub.prop(pchan, "ik_stiffness_z", text="Stiffness", slider=True)
|
|
|
|
sub.active = pchan.ik_dof_z and pchan.has_ik
|
|
|
|
|
|
|
|
if wide_ui:
|
|
|
|
split = layout.split(percentage=0.25)
|
|
|
|
sub = split.row()
|
|
|
|
else:
|
|
|
|
sub = layout.column(align=True)
|
|
|
|
sub.prop(pchan, "ik_limit_z", text="Limit")
|
|
|
|
sub.active = pchan.ik_dof_z and pchan.has_ik
|
|
|
|
if wide_ui:
|
|
|
|
sub = split.row(align=True)
|
|
|
|
sub.prop(pchan, "ik_min_z", text="")
|
|
|
|
sub.prop(pchan, "ik_max_z", text="")
|
|
|
|
sub.active = pchan.ik_dof_z and pchan.ik_limit_z and pchan.has_ik
|
|
|
|
split = layout.split()
|
|
|
|
split.prop(pchan, "ik_stretch", text="Stretch", slider=True)
|
|
|
|
if wide_ui:
|
|
|
|
split.label()
|
|
|
|
split.active = pchan.has_ik
|
|
|
|
|
|
|
|
if ob.pose.ik_solver == 'ITASC':
|
|
|
|
split = layout.split()
|
|
|
|
col = split.column()
|
|
|
|
col.prop(pchan, "ik_rot_control", text="Control Rotation")
|
|
|
|
col.active = pchan.has_ik
|
|
|
|
if wide_ui:
|
|
|
|
col = split.column()
|
|
|
|
col.prop(pchan, "ik_rot_weight", text="Weight", slider=True)
|
|
|
|
col.active = pchan.has_ik
|
|
|
|
# not supported yet
|
|
|
|
#row = layout.row()
|
|
|
|
#row.prop(pchan, "ik_lin_control", text="Joint Size")
|
|
|
|
#row.prop(pchan, "ik_lin_weight", text="Weight", slider=True)
|
|
|
|
|
2009-10-31 23:35:56 +00:00
|
|
|
|
2009-07-09 09:07:25 +00:00
|
|
|
class BONE_PT_deform(BoneButtonsPanel):
|
2009-10-31 19:31:45 +00:00
|
|
|
bl_label = "Deform"
|
|
|
|
bl_default_closed = True
|
|
|
|
|
|
|
|
def draw_header(self, context):
|
|
|
|
bone = context.bone
|
|
|
|
|
|
|
|
if not bone:
|
|
|
|
bone = context.edit_bone
|
|
|
|
|
2009-11-23 00:27:30 +00:00
|
|
|
self.layout.prop(bone, "deform", text="")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
def draw(self, context):
|
|
|
|
layout = self.layout
|
|
|
|
|
|
|
|
bone = context.bone
|
2009-11-19 13:26:51 +00:00
|
|
|
wide_ui = context.region.width > narrowui
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
if not bone:
|
|
|
|
bone = context.edit_bone
|
|
|
|
|
|
|
|
layout.active = bone.deform
|
|
|
|
|
|
|
|
split = layout.split()
|
|
|
|
|
|
|
|
col = split.column()
|
2009-11-23 00:27:30 +00:00
|
|
|
col.label(text="Envelope:")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
sub = col.column(align=True)
|
2009-11-23 00:27:30 +00:00
|
|
|
sub.prop(bone, "envelope_distance", text="Distance")
|
|
|
|
sub.prop(bone, "envelope_weight", text="Weight")
|
|
|
|
col.prop(bone, "multiply_vertexgroup_with_envelope", text="Multiply")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
sub = col.column(align=True)
|
2009-11-23 00:27:30 +00:00
|
|
|
sub.label(text="Radius:")
|
|
|
|
sub.prop(bone, "head_radius", text="Head")
|
|
|
|
sub.prop(bone, "tail_radius", text="Tail")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
2009-11-19 13:26:51 +00:00
|
|
|
if wide_ui:
|
2009-11-12 21:44:35 +00:00
|
|
|
col = split.column()
|
2009-11-23 00:27:30 +00:00
|
|
|
col.label(text="Curved Bones:")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
|
|
|
sub = col.column(align=True)
|
2009-11-23 00:27:30 +00:00
|
|
|
sub.prop(bone, "bbone_segments", text="Segments")
|
|
|
|
sub.prop(bone, "bbone_in", text="Ease In")
|
|
|
|
sub.prop(bone, "bbone_out", text="Ease Out")
|
2009-10-31 19:31:45 +00:00
|
|
|
|
2009-11-23 00:27:30 +00:00
|
|
|
col.label(text="Offset:")
|
|
|
|
col.prop(bone, "cyclic_offset")
|
2009-07-09 09:07:25 +00:00
|
|
|
|
2009-11-18 01:30:28 +00:00
|
|
|
|
2009-11-16 22:53:28 +00:00
|
|
|
class BONE_PT_properties(BoneButtonsPanel):
|
|
|
|
bl_label = "Properties"
|
|
|
|
bl_default_closed = True
|
|
|
|
|
|
|
|
def draw(self, context):
|
|
|
|
import rna_prop_ui
|
|
|
|
# reload(rna_prop_ui)
|
2009-11-17 12:54:29 +00:00
|
|
|
obj = context.object
|
|
|
|
if obj and obj.mode == 'POSE':
|
2009-11-24 17:12:32 +00:00
|
|
|
item = "active_pose_bone"
|
2009-11-17 12:54:29 +00:00
|
|
|
else:
|
|
|
|
item = "active_bone"
|
2009-11-18 01:30:28 +00:00
|
|
|
|
2009-11-17 12:54:29 +00:00
|
|
|
rna_prop_ui.draw(self.layout, context, item)
|
2009-11-16 22:53:28 +00:00
|
|
|
|
2009-07-09 09:42:34 +00:00
|
|
|
bpy.types.register(BONE_PT_context_bone)
|
2009-07-14 17:59:26 +00:00
|
|
|
bpy.types.register(BONE_PT_transform)
|
2009-09-12 12:30:23 +00:00
|
|
|
bpy.types.register(BONE_PT_transform_locks)
|
2009-10-03 11:19:14 +00:00
|
|
|
bpy.types.register(BONE_PT_relations)
|
|
|
|
bpy.types.register(BONE_PT_display)
|
2009-12-14 03:01:42 +00:00
|
|
|
bpy.types.register(BONE_PT_inverse_kinematics)
|
2009-07-09 09:07:25 +00:00
|
|
|
bpy.types.register(BONE_PT_deform)
|
2009-11-16 22:53:28 +00:00
|
|
|
bpy.types.register(BONE_PT_properties)
|