diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-16 08:59:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-16 08:59:11 +0400 |
commit | 128cf1522453c8f800d31fd663ac9027f56ec151 (patch) | |
tree | de00474b0d1a1bf519525a626dd81eb73924b673 /source/blender/python | |
parent | b1166492e2921feba2d2bd2e77ce492507600ad7 (diff) |
missing args for rna funciton. comment on rna leak with type registering that I haven't been able to fix yet.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index ac6934a6d55..1d6728e806a 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -3085,6 +3085,16 @@ void pyrna_free_types(void) RNA_PROP_END; } +/* Note! MemLeak XXX + * + * There is currently a bug where moving registering a python class does + * not properly manage refcounts from the python class, since the srna owns + * the python class this should not be so tricky but changing the references as + * youd expect when changing ownership crashes blender on exit so I had to comment out + * the decref. This is not so bad because the leak only happens when re-registering (hold F8) + * - Should still be fixed - Campbell + * */ + PyObject *pyrna_basetype_register(PyObject *self, PyObject *py_class) { bContext *C= NULL; |