diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-03-31 07:40:47 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-03-31 07:40:47 +0400 |
commit | 5b73d96fd54f8572ca24ac67969713115376435b (patch) | |
tree | 275485e23083ccc359519d679fd2453ffd06829b /source/blender/src/space.c | |
parent | bdfe2a6e0a841eb5b0e31dffed52483addc8223f (diff) |
== Armature Tools - Separate (not yet functional) ==
Initial commit of Separate tool for Armatures. Currently, the functionality is hidden behind a temporary patch, as there are still issues to be worked out (crashes under certain conditions and a re-linking issue). It may remain like this for the release if I can't get it to work correctly.
Note:
- Hotkey for separate is Ctrl-Shift-P (it's a bit clumsy, and isn't consistent with P for separate for meshes, but Select Parent(s) is better as P)
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r-- | source/blender/src/space.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 2f8e540f1c0..ab6c2b0533a 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -2377,6 +2377,8 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt) clear_bone_parent(); else if((G.qual==0) && (G.obedit->type==OB_ARMATURE)) select_bone_parent(); + else if((G.qual==(LR_CTRLKEY|LR_SHIFTKEY)) && (G.obedit->type==OB_ARMATURE)) + separate_armature(); else if((G.qual==0) && G.obedit->type==OB_MESH) separatemenu(); else if ((G.qual==0) && ELEM(G.obedit->type, OB_CURVE, OB_SURF)) |