Blender Git Loki

Git Commits -> Revision 64f300c

Revision 64f300c by Campbell Barton (master)
July 10, 2009, 18:09 (GMT)
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

Commit Details:

Full Hash: 64f300ccf4ffa687b196b111b91682d8a50d0069
SVN Revision: 21499
Parent Commit: b3d6b2f
Lines Changed: +31, -23

2 Modified Paths:

/source/blender/python/generic/mathutils.h (+7, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+24, -23) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021