diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-10 22:09:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-10 22:09:53 +0400 |
commit | 64f300ccf4ffa687b196b111b91682d8a50d0069 (patch) | |
tree | 2d1993b9b2dc98bb0ec3c1c56e83677505cf4010 /source/blender/editors/interface/interface_regions.c | |
parent | b3d6b2f7283e200e3b3724cc93c8279fe7b4dcf0 (diff) |
Use python subtypes so bpy.types.Mesh is a subtype of bpy.types.ID
This means checks like this work.
isinstance(bpy.data.meshes[0], bpy.types.ID)
bpy.types.Mesh.__base__ == bpy.types.ID
Diffstat (limited to 'source/blender/editors/interface/interface_regions.c')
0 files changed, 0 insertions, 0 deletions