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:
Diffstat (limited to 'source/blender/python/api2_2x/Object.c')
-rw-r--r--source/blender/python/api2_2x/Object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c
index 5f1de87c55f..f7b0e391f9e 100644
--- a/source/blender/python/api2_2x/Object.c
+++ b/source/blender/python/api2_2x/Object.c
@@ -68,6 +68,7 @@ struct rctf;
#include "BKE_material.h"
#include "BKE_modifier.h"
#include "BKE_idprop.h"
+#include "BKE_object.h"
#include "BSE_editipo.h"
#include "BSE_edit.h"
@@ -793,7 +794,6 @@ PyObject *M_Object_New( PyObject * self_unused, PyObject * args )
int type;
char *str_type;
char *name = NULL;
- Object *add_only_object(int type, char *name);
PyObject *py_object;
BPy_Object *blen_object;