diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-06-13 15:52:33 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-06-13 15:52:33 +0400 |
commit | d7e06a6d91dc2773bb8c4d0b6a0d8e71c775e02c (patch) | |
tree | eacca8bed76ae59882cadda046f20b6e91071fe6 /release/ui | |
parent | cd3c52db0334950f85911cca9f7b834647950f7b (diff) |
2.5 - Armature/Bone Tweaks
- Changing visible layers for armatures now sends notifiers
- Made the bone buttons show the layers data
TODO:
I also tried making the bone buttons show for 'PoseChannels' instead of the raw bones since this is more correct for most editing that can be done (i.e. when posing). For editmode though, we'd need to wrap EditBones in some way? However, I couldn't seem to get this to work due to the way paths are resolved.
Diffstat (limited to 'release/ui')
-rw-r--r-- | release/ui/buttons_data_bone.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/ui/buttons_data_bone.py b/release/ui/buttons_data_bone.py index 75c201f015e..3f36a3d4909 100644 --- a/release/ui/buttons_data_bone.py +++ b/release/ui/buttons_data_bone.py @@ -35,7 +35,9 @@ class BONE_PT_bone(BoneButtonsPanel): sub.itemR(bone, "multiply_vertexgroup_with_envelope", text="Multiply") sub = split.column() - #sub.itemR(bone, "layer") + sub.itemL(text="Layers:") + sub.template_layers(bone, "layer") + sub.itemL(text="Display:") sub.itemR(bone, "draw_wire", text="Wireframe") sub.itemR(bone, "editmode_hidden", text="Hide (EditMode)") |