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:
authorKen Hughes <khughes@pacific.edu>2006-12-17 03:21:57 +0300
committerKen Hughes <khughes@pacific.edu>2006-12-17 03:21:57 +0300
commit08a7208aa6274e469459b4fa234a42e6ccbae1ae (patch)
tree0b246d945f3389e8bed350cfc40e405cb312bfec /source/blender/python/api2_2x/Object.h
parent08e3f8b1dae9cd9776bd9a0221fce9c4de86467d (diff)
Python API
---------- A more robust attempt to avoid creating non-Empty objects with no data while maintaining backward compatibility.
Diffstat (limited to 'source/blender/python/api2_2x/Object.h')
-rw-r--r--source/blender/python/api2_2x/Object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Object.h b/source/blender/python/api2_2x/Object.h
index 79783db619f..5d9951c13c3 100644
--- a/source/blender/python/api2_2x/Object.h
+++ b/source/blender/python/api2_2x/Object.h
@@ -48,9 +48,9 @@ extern PyTypeObject Object_Type;
typedef struct {
PyObject_HEAD
struct Object *object;
+ short realtype;
} BPy_Object;
-
PyObject *Object_Init( void );
PyObject *Object_CreatePyObject( struct Object *obj );
Object *Object_FromPyObject( PyObject * py_obj );