code cleanup: naming - pose/armature/image
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
This commit is contained in:
@@ -295,7 +295,7 @@ static Object *AddNewBlenderMesh(Scene *scene, Base *base)
|
||||
basen->flag &= ~SELECT;
|
||||
|
||||
// Initialize the mesh data associated with this object.
|
||||
ob_new->data= add_mesh("Mesh");
|
||||
ob_new->data= BKE_mesh_add("Mesh");
|
||||
|
||||
// Finally assign the object type.
|
||||
ob_new->type= OB_MESH;
|
||||
|
||||
Reference in New Issue
Block a user