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>2007-08-19 23:06:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-08-19 23:06:42 +0400
commit2866dde90a0cfbd65b9f52c313f706dc46fc9603 (patch)
tree57384d23685f35a9d6bfb70876f30dfaab9286ed /source/blender/python/api2_2x/Types.c
parentd27abcccdd43b45c9c5d90a91821fa12e98203ac (diff)
aparently mingw was still having problems, fixed this properly by using PyType_Ready, this needed some changes to the PyType to work.
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r--source/blender/python/api2_2x/Types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c
index bff227e440a..8b51c590a5b 100644
--- a/source/blender/python/api2_2x/Types.c
+++ b/source/blender/python/api2_2x/Types.c
@@ -128,7 +128,7 @@ void types_InitAll( void )
euler_Type.ob_type = &PyType_Type;
matrix_Type.ob_type = &PyType_Type;
quaternion_Type.ob_type = &PyType_Type;
- rgbTuple_Type.ob_type = &PyType_Type;
+ PyType_Ready( &rgbTuple_Type );
vector_Type.ob_type = &PyType_Type;
property_Type.ob_type = &PyType_Type;
point_Type.ob_type = &PyType_Type;