diff options
-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" |