* remove warning about add_only_object
authorNathan Letwory <nathan@letworyinteractive.com>
Wed, 24 Jan 2007 04:44:49 +0000 (04:44 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Wed, 24 Jan 2007 04:44:49 +0000 (04:44 +0000)
source/blender/blenkernel/BKE_object.h
source/blender/python/api2_2x/Scene.c

index 13566be30b37bd5095cdadc21631f2927d6637d2..cf69806935cf64ecf1f2f0b664edeb22bf1b0038 100644 (file)
@@ -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);
 
index 75f5350c8a28c163403fef6e1fff9553c7b938d5..fdea1aa8ca213abd403fede034f98052e3cd9bed 100644 (file)
@@ -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"