diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2007-01-24 07:44:49 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2007-01-24 07:44:49 +0300 |
commit | 35bb9dff1ddd7ff2a70882198b5009646faf539a (patch) | |
tree | 785ef5220f7b4810b0d2946616cf5d34d4f0a130 /source | |
parent | 6b179bc2e0078a9a1595870dfd48305c37a50902 (diff) |
* remove warning about add_only_object
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 1 | ||||
-rw-r--r-- | source/blender/python/api2_2x/Scene.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 13566be30b3..cf69806935c 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -70,6 +70,7 @@ void free_camera(struct Camera *ca); void free_lamp(struct Lamp *la); void *add_wave(void); +struct Object *add_only_object(int type, char *name); struct Object *add_object(int type); void base_init_from_view3d(struct Base *base, struct View3D *v3d); diff --git a/source/blender/python/api2_2x/Scene.c b/source/blender/python/api2_2x/Scene.c index 75f5350c8a2..fdea1aa8ca2 100644 --- a/source/blender/python/api2_2x/Scene.c +++ b/source/blender/python/api2_2x/Scene.c @@ -43,6 +43,7 @@ struct View3D; #include "DNA_object_types.h" /* SceneObSeq_new */ #include "BKE_depsgraph.h" #include "BKE_library.h" +#include "BKE_object.h" #include "BKE_scene.h" #include "BKE_font.h" #include "BKE_idprop.h" |