Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-09-26 12:51:05 +0400
committerJoshua Leung <aligorith@gmail.com>2008-09-26 12:51:05 +0400
commit1206061ed431a37c31271364c0ed346809c3abc3 (patch)
tree2dfac9ee09f607d886d9455d660df7eb19af1bdd /source/blender/include/BIF_editarmature.h
parent06a5e9b58a0c1281609ee1ddb850fc058fe56c4f (diff)
Patch #17346: Align bones in edit mode
Submitted by: Lorenzo Pierfederici (lento) This patch adds the CTRL-ALT-A hotkey to align bones in armature edit mode. It works the same way as parenting: selected bones will be aligned with active bone, if only one bone is selected it will be aligned with its parent (if any) Thanks!
Diffstat (limited to 'source/blender/include/BIF_editarmature.h')
-rw-r--r--source/blender/include/BIF_editarmature.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/include/BIF_editarmature.h b/source/blender/include/BIF_editarmature.h
index fdd00a67465..d390b96f61f 100644
--- a/source/blender/include/BIF_editarmature.h
+++ b/source/blender/include/BIF_editarmature.h
@@ -139,6 +139,8 @@ void hide_selected_armature_bones(void);
void hide_unselected_armature_bones(void);
void show_all_armature_bones(void);
+void align_selected_bones(void);
+
#define BONESEL_ROOT 0x10000000
#define BONESEL_TIP 0x20000000
#define BONESEL_BONE 0x40000000
@@ -157,3 +159,4 @@ void show_all_armature_bones(void);
#endif
+