Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021