From 1206061ed431a37c31271364c0ed346809c3abc3 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Fri, 26 Sep 2008 08:51:05 +0000 Subject: 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! --- source/blender/include/BIF_editarmature.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/include/BIF_editarmature.h') 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 + -- cgit v1.2.3