diff options
author | Joseph Eagar <joeedh@gmail.com> | 2006-11-30 02:31:46 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2006-11-30 02:31:46 +0300 |
commit | 99d66e1d5e8c9d32c6289cd453ebec3f708aa249 (patch) | |
tree | f739fbc0f8c8815429ab8056b982a3b46a9023dc /source/blender/python/api2_2x/Types.c | |
parent | 504e92688910423c0812aa8fc04cada45265b916 (diff) |
=IDProperties bugfix=
Fixed the bug of "print type(property)" crashed blender;
just needed to add PyType_Ready init code for all ID property
python types; I made a function IDProp_Init_Types and put
code to call it in types_initAll().
Also added GPL/BL headers to idproperty files.
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r-- | source/blender/python/api2_2x/Types.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c index 04bfc771a83..4442222844f 100644 --- a/source/blender/python/api2_2x/Types.c +++ b/source/blender/python/api2_2x/Types.c @@ -30,7 +30,7 @@ */ #include "Types.h" - +#include "IDProp.h" /* stuff pasted from the old Types.h is only need here now @@ -134,6 +134,7 @@ void types_InitAll( void ) PyType_Ready( &EditBone_Type ); PyType_Ready( &ThemeSpace_Type ); PyType_Ready( &ThemeUI_Type ); + IDProp_Init_Types(); } /*****************************************************************************/ |