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:
authorCampbell Barton <ideasman42@gmail.com>2012-04-15 18:54:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-15 18:54:15 +0400
commit6520aa97a93e2438ddb739b2b990061ed18ab1d7 (patch)
tree661662ab9cf2b71cb245ae5f0c8f70c3dc71a687 /source/blender/python/intern
parent24286ba5bd75b29ce454b85585272b7741c7d6c3 (diff)
add 'idprop' module so we can document idprop.types.*, currently doc generator has no access to ID Property types.
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r--source/blender/python/intern/bpy_interface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c
index f68ef6838e8..f370c06194a 100644
--- a/source/blender/python/intern/bpy_interface.c
+++ b/source/blender/python/intern/bpy_interface.c
@@ -74,9 +74,11 @@
/* inittab initialization functions */
#include "../generic/bgl.h"
#include "../generic/blf_py_api.h"
+#include "../generic/idprop_py_api.h"
#include "../bmesh/bmesh_py_api.h"
#include "../mathutils/mathutils.h"
+
/* for internal use, when starting and ending python scripts */
/* in case a python script triggers another python call, stop bpy_context_clear from invalidating */
@@ -211,6 +213,7 @@ static struct _inittab bpy_internal_modules[] = {
{(char *)"_cycles", CCL_initPython},
#endif
{(char *)"gpu", GPU_initPython},
+ {(char *)"idprop", BPyInit_idprop},
{NULL, NULL}
};