From 8ddbd84240e6d0cd8ca152ff95c473c6b2e9a910 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 9 Sep 2007 11:05:21 +0000 Subject: Patch #6794: Subdivide Multi for Armatures This patch, by Juho Vepsalainen (BeBraw), introduces subdivide multi functionality for armatures. It lets you specify the number of divisions that selected bones should be divided into. I've slightly optimised the code a bit, though the change shouldn't make much of a difference. I've also fixed a minor bug in the menu highlighting, due to duplicate menu event-codes. --- source/blender/include/BIF_editarmature.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 3f9f62be46d..903c663e5f3 100644 --- a/source/blender/include/BIF_editarmature.h +++ b/source/blender/include/BIF_editarmature.h @@ -85,7 +85,7 @@ void deselectall_armature(int toggle, int doundo); void deselectall_posearmature (struct Object *ob, int test, int doundo); int draw_armature(struct Base *base, int dt); void extrude_armature(int forked); -void subdivide_armature(void); +void subdivide_armature(int numcuts); void free_editArmature(void); @@ -139,3 +139,4 @@ void show_all_armature_bones(void); #endif + -- cgit v1.2.3