This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/python/intern
Campbell Barton 215f80361c bpy's __rna__ attribute doesnt work as it should, since the parent classes __rna__ overrides the subtypes.
For now have pyrna_struct_as_srna look in the dict first for __rna__ before using PyDict_GetItemString.
Somehow __rna__ is not calling the pyrna_struct_getattro function, python find it first.

The only relyable way to get the rna from python currently is.
bpy.types.SomeType.__dict__['__rna__']
2009-08-22 17:06:10 +00:00
..
2009-08-10 00:07:34 +00:00
2009-04-01 12:43:07 +00:00
2009-08-10 00:07:34 +00:00
2009-06-05 12:48:58 +00:00
2009-08-15 16:36:25 +00:00
2009-08-15 16:36:25 +00:00
2009-08-10 15:39:11 +00:00
2009-07-22 09:41:41 +00:00