Blender Git Commit Log

Git Commits -> Revision 5559a0d

Revision 5559a0d by Campbell Barton (master)
September 10, 2010, 14:54 (GMT)
rewrote python IDProperty metaclass in C, this was a quick hack to get it working.

The reason this didnt work is all sibclasses of pythons type() or PyType_Type in C, have to have their size set to sizeof(PyHeapTypeObject) rather then sizeof(PyTypeObject) as you might expect.
This is strange since its not a heap-class (defined in pythons runtime), but a static C type, so Im not sure about this, and cant find any documentation but it seems to work ok.

Commit Details:

Full Hash: 5559a0d52e68dc4e09705f2950041ddcc743ea22
SVN Revision: 31856
Parent Commit: fc6d273
Lines Changed: +64, -105

4 Modified Paths:

/release/scripts/modules/bpy_types.py (+6, -69) (Diff)
/source/blender/python/intern/bpy.c (+2, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+55, -36) (Diff)
/source/blender/python/intern/bpy_rna.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021