From 8b0c3de7d9791646c09a002b14afc21d6b3da5ae Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 2 Jan 2006 10:40:13 +0000 Subject: Changed adduplicate() to take the dupflags as an argument. so faking the Alt Key isnt needed anymore in Blender or python. Changed Pythons Object.Duplicate() to take keyword parms to enable duplication of spesific data. Eg- Object.Duplicate(mesh=1) # to duplicate mesh data also. --- source/blender/include/BDR_editobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/include/BDR_editobject.h') diff --git a/source/blender/include/BDR_editobject.h b/source/blender/include/BDR_editobject.h index 99c9655a763..27c23b22ca3 100644 --- a/source/blender/include/BDR_editobject.h +++ b/source/blender/include/BDR_editobject.h @@ -92,7 +92,7 @@ void single_tex_users_expand(void); void single_mat_users_expand(void); void single_user(void); void make_local(void); -void adduplicate(int noTrans); +void adduplicate(int noTrans, int dupflag); /* when the dupflag is 0 no data is duplicated */ void selectlinks_menu(void); void selectlinks(int nr); void image_aspect(void); -- cgit v1.2.3