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/blenkernel/BKE_object.h
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/blenkernel/BKE_object.h')
-rw-r--r--source/blender/blenkernel/BKE_object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h
index cf69806935c..f20f8c01502 100644
--- a/source/blender/blenkernel/BKE_object.h
+++ b/source/blender/blenkernel/BKE_object.h
@@ -60,10 +60,10 @@ void object_make_proxy(struct Object *ob, struct Object *target, struct Object *
void unlink_object(struct Object *ob);
int exist_object(struct Object *obtest);
-void *add_camera(void);
+void *add_camera(char *name);
struct Camera *copy_camera(struct Camera *cam);
void make_local_camera(struct Camera *cam);
-void *add_lamp(void);
+void *add_lamp(char *name);
struct Lamp *copy_lamp(struct Lamp *la);
void make_local_lamp(struct Lamp *la);
void free_camera(struct Camera *ca);