Blender Git Loki

Git Commits -> Revision 92ed90d

Revision 92ed90d by Campbell Barton (master)
November 17, 2011, 08:47 (GMT)
pyapi feature from 2.4x

allow collection subscript to contain the library or None.

eg:

bpy.data.objects["Mesh", "/subsurf_test.blend"]

bpy.data.scenes["Scene", None]

# also works with get()
bpy.data.armatures.get(("some_armature", "//some_lib.blend"), None)

Commit Details:

Full Hash: 92ed90d2fac4b62d242987542a58adb75e80966a
SVN Revision: 41945
Parent Commit: 096f7c0
Lines Changed: +103, -4

1 Modified Path:

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