diff options
author | Joseph Eagar <joeedh@gmail.com> | 2007-01-15 10:54:08 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2007-01-15 10:54:08 +0300 |
commit | 7a19fe19f659b486500758a87959bcafb4b4b09b (patch) | |
tree | 37ef0ed5d21d3f53dcf6a036d19ffb0a67e7f858 /source/blender/python/api2_2x/Types.c | |
parent | 1645e8d287fe77f38ac4672c23b2e5b872ed4975 (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.c | 6 |
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; } |