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:
@@ -273,7 +273,7 @@ static Object *AddNewBlenderMesh(Base *base)
|
||||
basen->flag &= ~SELECT;
|
||||
|
||||
// Initialize the mesh data associated with this object.
|
||||
ob_new->data= add_mesh();
|
||||
ob_new->data= add_mesh("Mesh");
|
||||
G.totmesh++;
|
||||
|
||||
// Finally assign the object type.
|
||||
|
||||
Reference in New Issue
Block a user