made all data adding functions accept a name such as add_mesh or add_curve, previously only some datatypes adding functions accepted a name.

also updated the Bpy.py epydocs
This commit is contained in:
2007-03-11 16:25:17 +00:00
parent f84c02429e
commit e0c77c0f14
38 changed files with 143 additions and 160 deletions

View File

@@ -1812,7 +1812,7 @@ static void do_add_groupmenu(void *arg, int event)
if(ob) {
if(event== -1) {
Group *group= add_group();
Group *group= add_group( "Group" );
add_to_group(group, ob);
}
else