diff options
author | Ton Roosendaal <ton@blender.org> | 2005-08-15 18:02:03 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-08-15 18:02:03 +0400 |
commit | 1dcec68ab4a70f6ac6bbf6c6a980fed484afffa8 (patch) | |
tree | d7a4a9ddefbb266affe80667d640bae119661d0d /source/blender/include/BIF_editarmature.h | |
parent | 2abd79b491c024eee8ad460815486fc051aefbf4 (diff) |
EditMode armature: mirrored editing feature.
- Option is in EditButtons, Armature panel.
- Currently only local X-axis mirror (seems to be default anyway)
- Transform then applies changes to the mirrored-name bone as well.
- Extrude: also does the counterpart Bone
- New: SHIFT+E extrude: extrudes 2 mirrored Bones out of a normal Bone.
(creating names by appening _L and _R)
Or in short: you can now model a full rig without any manual naming!
Of course the names are not too nice... a couple of ideas to explore;
- rename a mirrored bone renames counterpart too
- allow in weightpaint mode to select Bones
- and of course mirrored edit in PoseMode (if that's useful...)
Important note: I tweaked the naming convention a bit; names like
Bone_L.005 and Bone_R.005 are considered counterparts. However, if
you use the "Flip names" option, the number extension is still
truncated.
BTW: Commits in Zr's code are fixes for gcc warnings. :)
Diffstat (limited to 'source/blender/include/BIF_editarmature.h')
-rw-r--r-- | source/blender/include/BIF_editarmature.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/include/BIF_editarmature.h b/source/blender/include/BIF_editarmature.h index 77c6c5d446d..ae5acf30715 100644 --- a/source/blender/include/BIF_editarmature.h +++ b/source/blender/include/BIF_editarmature.h @@ -85,7 +85,7 @@ void delete_armature(void); void deselectall_armature(int toggle); void deselectall_posearmature (struct Object *ob, int test); void draw_armature(struct Base *base, int dt); -void extrude_armature(void); +void extrude_armature(int forked); void free_editArmature(void); struct Bone *get_indexed_bone (struct Object *ob, int index); @@ -125,7 +125,7 @@ int ik_chain_looper(Object *ob, struct Bone *bone, void *data, void undo_push_armature(char *name); void armature_bone_rename(struct bArmature *arm, char *oldname, char *newname); void armature_flip_names(void); - +EditBone *armature_bone_get_mirrored(EditBone *ebo); #define BONESEL_ROOT 0x10000000 #define BONESEL_TIP 0x20000000 |