diff options
author | Ton Roosendaal <ton@blender.org> | 2005-12-07 15:36:26 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-12-07 15:36:26 +0300 |
commit | 1123be1bcc47b2e51d06371c9a174e145d3b0a73 (patch) | |
tree | dd5b41e3b95073aebb56b44c0b1e9ff486e7bd73 /source/blender/python/api2_2x/Armature.c | |
parent | ee63a6fd79e6be8b873b20ce842e5beb6850f4cf (diff) |
Orange request; Bones in Armature now have own layer settings.
Works like for Object layers, but local within Armature itself. Each Bone
can be in (16 now) any layer, and the Armature layer defines what is
visible or not. Also note that hiding will still work too.
Since the Blender code is *stuffed* with Bone options now, this commit
requires a good test if all tools we got now comply to layers...
(I counted 130 cases for checking for selected Bones in code!)
In PoseMode; hotkey M will show 'movetolayer' menu. Not in editmode...
then its the mirror menu.
Todo: make action/nla drawing comply to Armature layer settings.
Diffstat (limited to 'source/blender/python/api2_2x/Armature.c')
-rw-r--r-- | source/blender/python/api2_2x/Armature.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Armature.c b/source/blender/python/api2_2x/Armature.c index f9aa80c5aaf..e6482c87a54 100644 --- a/source/blender/python/api2_2x/Armature.c +++ b/source/blender/python/api2_2x/Armature.c @@ -453,7 +453,6 @@ static PyObject *Armature_saveChanges(BPy_Armature *self) bone->rad_head= editbone->rad_head; bone->rad_tail= editbone->rad_tail; bone->segments= editbone->segments; - bone->boneclass = 0; } pos = 0; |