Killed silly modal PoseMode mode! :)
- PoseMode now is a state Armature Objects can be in. So, while in PoseMode for an Armature, you can just select another Object or Armature. - The old PoseMode options (transform, insert keys etc) are accessible with making the Armature Object 'active' (and have object in PoseMode). - At this moment no multiple Poses can be transformed/edited at the same time. - The old hotkey CTRL+TAB, and view3d header menu, still work to set an Object's PoseMode It was quite a lot recode, so tests & reports are welcome. Oh, as a bonus I added Lasso Select for Bones in PoseMode! It selects using only the line between root and tip of the Bone.
This commit is contained in:
@@ -1865,6 +1865,8 @@ static void editing_panel_armature_bones(Object *ob, bArmature *arm)
|
||||
|
||||
uiBlockEndAlign(block);
|
||||
by-=42;
|
||||
|
||||
if(by < -200) break; // for time being... extreme long panels are very slow
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1925,7 +1927,9 @@ static void editing_panel_pose_bones(Object *ob, bArmature *arm)
|
||||
bx+220, by-19, 110, 19, &curBone->ease2, 0.0, 2.0, 10.0, 0.0, "Second length of Bezier handle");
|
||||
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
by-=42;
|
||||
if(by < -200) break; // for time being... extreme long panels are very slow
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2875,7 +2879,7 @@ void editing_panels()
|
||||
if(G.obedit) {
|
||||
editing_panel_armature_bones(ob, arm);
|
||||
}
|
||||
else if(G.obpose==ob) {
|
||||
else if(ob->flag & OB_POSEMODE) {
|
||||
editing_panel_pose_bones(ob, arm);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user