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
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-22 16:54:18 +00:00
2009-08-10 15:39:11 +00:00
2009-06-08 20:08:19 +00:00
2009-08-21 22:56:26 +00:00
2009-08-15 23:42:16 +00:00
2009-03-30 18:21:17 +00:00