Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-03-11 19:25:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-03-11 19:25:17 +0300
commite0c77c0f14f6ad3a742ab7b556ccb46b1ef4fbdf (patch)
treed3795bc43f7fa7cecf49471a4a72e827a2b24e78 /source/blender/src/booleanops.c
parentf84c02429ebc03faca8413d08540fa04d2461b93 (diff)
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
Diffstat (limited to 'source/blender/src/booleanops.c')
-rw-r--r--source/blender/src/booleanops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/booleanops.c b/source/blender/src/booleanops.c
index 8a0326ccc02..2640a19ebf1 100644
--- a/source/blender/src/booleanops.c
+++ b/source/blender/src/booleanops.c
@@ -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.