minor ref-counting changes, means new subclasses will get the correct ref count thoug...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 26 May 2009 06:29:15 +0000 (06:29 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 26 May 2009 06:29:15 +0000 (06:29 +0000)
commitc590dd3e8cd28013262c8a0036a7fef38b99a0a9
tree8256021ecf103f2a0c0d5bd3c9f1ee6a825fbb10
parenta98f1f54bfc4a07b55643e111e39ce0e3b80b073
minor ref-counting changes, means new subclasses will get the correct ref count though there are big problems with this still.
Found that subclassing an RNA struct (without even registering or instancing adds a reference to Py_None).
Unlikely a python bug, tested with py2.6 and 3.1
source/blender/python/intern/bpy_rna.c