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:
@@ -2673,7 +2673,7 @@ void convertmenu(void)
|
||||
mb= ob1->data;
|
||||
mb->id.us--;
|
||||
|
||||
ob1->data= add_mesh();
|
||||
ob1->data= add_mesh("Mesh");
|
||||
G.totmesh++;
|
||||
ob1->type= OB_MESH;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user