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:
authorDaniel Salazar <zanqdo@gmail.com>2010-04-26 12:55:14 +0400
committerDaniel Salazar <zanqdo@gmail.com>2010-04-26 12:55:14 +0400
commit724c8afde8e39889b3085b27fd7e5640d093c476 (patch)
tree1c207ba299f984a589cb9fa30f792f1dfde40325 /release
parent1542b15a07e0f615d69d1f9179370f3a97a1b893 (diff)
Got tired of the heavily compressed armature layer icons. Also added
a smart wide/narrow UI conversion http://www.pasteall.org/pic/show.php?id=2940
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_data_armature.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/release/scripts/ui/properties_data_armature.py b/release/scripts/ui/properties_data_armature.py
index 976c2ad78d5..953ab5e5abd 100644
--- a/release/scripts/ui/properties_data_armature.py
+++ b/release/scripts/ui/properties_data_armature.py
@@ -69,7 +69,10 @@ class DATA_PT_skeleton(DataButtonsPanel):
arm = context.armature
wide_ui = context.region.width > narrowui
- layout.prop(arm, "pose_position", expand=True)
+ if wide_ui:
+ layout.prop(arm, "pose_position", expand=True)
+ else:
+ layout.prop(arm, "pose_position", text="")
split = layout.split()
@@ -79,11 +82,16 @@ class DATA_PT_skeleton(DataButtonsPanel):
col.label(text="Protected Layers:")
col.prop(arm, "layer_protection", text="")
- if wide_ui:
- col = split.column()
col.label(text="Deform:")
+
+ split = layout.split()
+
+ col = split.column()
col.prop(arm, "deform_vertexgroups", text="Vertex Groups")
col.prop(arm, "deform_envelope", text="Envelopes")
+
+ if wide_ui:
+ col = split.column()
col.prop(arm, "deform_quaternion", text="Quaternion")
col.prop(arm, "deform_bbone_rest", text="B-Bones Rest")