Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <william@reynish.com>2009-09-20 01:40:37 +0400
committerWilliam Reynish <william@reynish.com>2009-09-20 01:40:37 +0400
commit8b4ad3584cbd66c7fc76dbb9593e56d145b9fc7b (patch)
treeffc6b6f3fe7dbdb5c28941b420774d2caaa7f80d /release/ui
parentf7d8275ddbca3d5a1eb9c1208561d874818da390 (diff)
A few smaller adjustments to armature and bone properties.
Diffstat (limited to 'release/ui')
-rw-r--r--release/ui/buttons_data_armature.py14
-rw-r--r--release/ui/buttons_data_bone.py8
2 files changed, 14 insertions, 8 deletions
diff --git a/release/ui/buttons_data_armature.py b/release/ui/buttons_data_armature.py
index 49da9c190ff..413deee362b 100644
--- a/release/ui/buttons_data_armature.py
+++ b/release/ui/buttons_data_armature.py
@@ -37,7 +37,9 @@ class DATA_PT_skeleton(DataButtonsPanel):
ob = context.object
arm = context.armature
space = context.space_data
-
+
+ layout.itemR(arm, "pose_position", expand=True)
+
split = layout.split()
col = split.column()
@@ -50,7 +52,6 @@ class DATA_PT_skeleton(DataButtonsPanel):
col.itemR(arm, "auto_ik")
col = split.column()
- col.itemR(arm, "rest_position")
col.itemL(text="Deform:")
col.itemR(arm, "deform_vertexgroups", text="Vertex Groups")
col.itemR(arm, "deform_envelope", text="Envelopes")
@@ -140,12 +141,16 @@ class DATA_PT_paths(DataButtonsPanel):
col.row().itemR(arm, "paths_location", expand=True)
col = split.column()
- col.itemL(text="Show:")
+ col.itemL(text="Display:")
col.itemR(arm, "paths_show_frame_numbers", text="Frame Numbers")
col.itemR(arm, "paths_highlight_keyframes", text="Keyframes")
col.itemR(arm, "paths_show_keyframe_numbers", text="Keyframe Numbers")
- layout.itemO("pose.paths_calculate")
+ layout.itemS()
+
+ row = layout.row()
+ row.itemO("pose.paths_calculate", text="Calculate Paths")
+ row.itemO("pose.paths_clear", text="Clear Paths")
class DATA_PT_ghost(DataButtonsPanel):
__label__ = "Ghost"
@@ -171,6 +176,7 @@ class DATA_PT_ghost(DataButtonsPanel):
sub.itemR(arm, "ghost_size", text="Step")
col = split.column()
+ col.itemL(text="Display:")
col.itemR(arm, "ghost_only_selected", text="Selected Only")
bpy.types.register(DATA_PT_context_arm)
diff --git a/release/ui/buttons_data_bone.py b/release/ui/buttons_data_bone.py
index b4048a94f23..510b41de8a7 100644
--- a/release/ui/buttons_data_bone.py
+++ b/release/ui/buttons_data_bone.py
@@ -177,7 +177,7 @@ class BONE_PT_inverse_kinematics(BoneButtonsPanel):
split = layout.split(percentage=0.25)
split.itemR(pchan, "ik_dof_x", text="X")
row = split.row()
- row.itemR(pchan, "ik_stiffness_x", text="Stiffness")
+ row.itemR(pchan, "ik_stiffness_x", text="Stiffness", slider=True)
row.active = pchan.ik_dof_x
split = layout.split(percentage=0.25)
@@ -192,7 +192,7 @@ class BONE_PT_inverse_kinematics(BoneButtonsPanel):
split = layout.split(percentage=0.25)
split.itemR(pchan, "ik_dof_y", text="Y")
row = split.row()
- row.itemR(pchan, "ik_stiffness_y", text="Stiffness")
+ row.itemR(pchan, "ik_stiffness_y", text="Stiffness", slider=True)
row.active = pchan.ik_dof_y
split = layout.split(percentage=0.25)
@@ -207,7 +207,7 @@ class BONE_PT_inverse_kinematics(BoneButtonsPanel):
split = layout.split(percentage=0.25)
split.itemR(pchan, "ik_dof_z", text="Z")
row = split.row()
- row.itemR(pchan, "ik_stiffness_z", text="Stiffness")
+ row.itemR(pchan, "ik_stiffness_z", text="Stiffness", slider=True)
row.active = pchan.ik_dof_z
split = layout.split(percentage=0.25)
@@ -220,7 +220,7 @@ class BONE_PT_inverse_kinematics(BoneButtonsPanel):
row.active = pchan.ik_dof_z and pchan.ik_limit_z
split = layout.split()
- split.itemR(pchan, "ik_stretch", text="Stretch")
+ split.itemR(pchan, "ik_stretch", text="Stretch", slider=True)
split.itemL()
class BONE_PT_deform(BoneButtonsPanel):