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:
authorJoseph Eagar <joeedh@gmail.com>2007-01-15 10:54:08 +0300
committerJoseph Eagar <joeedh@gmail.com>2007-01-15 10:54:08 +0300
commit7a19fe19f659b486500758a87959bcafb4b4b09b (patch)
tree37ef0ed5d21d3f53dcf6a036d19ffb0a67e7f858 /source/blender/python/api2_2x/Types.c
parent1645e8d287fe77f38ac4672c23b2e5b872ed4975 (diff)
=ID Property Script update and api bugfix=
Turned out somehow I managed to miss adding the proper type refs in Blender.Types for IDGroupType and IDArrayType, which made the script not work. So, I've got it all fixed now. Or at least hopefully :)
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r--source/blender/python/api2_2x/Types.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c
index de34d6a3ca4..c714df8ab0a 100644
--- a/source/blender/python/api2_2x/Types.c
+++ b/source/blender/python/api2_2x/Types.c
@@ -36,6 +36,7 @@
is only need here now
*/
+extern PyTypeObject IDGroup_Type, IDArray_Type;
extern PyTypeObject Action_Type, Armature_Type;
extern PyTypeObject Pose_Type;
extern PyTypeObject BezTriple_Type, Bone_Type, Button_Type;
@@ -249,6 +250,9 @@ PyObject *Types_Init( void )
( PyObject * ) &ThemeSpace_Type);
PyDict_SetItemString( dict, "ThemeUI_Type",
( PyObject * ) &ThemeUI_Type);
-
+ PyDict_SetItemString( dict, "IDGroupType",
+ ( PyObject * ) &IDGroup_Type);
+ PyDict_SetItemString( dict, "IDArrayType",
+ ( PyObject * ) &IDArray_Type);
return submodule;
}