Blender Git Commit Log

Git Commits -> Revision 7b38df4

Revision 7b38df4 by Bastien Montagne (master)
November 6, 2018, 16:20 (GMT)
Fix/cleanup RNA viewlayer API.

RNA's ViewLayer would present 'first level' of layer collection as a
list (collection property), when it is actually now only a single item,
same as the scene's master collection.

Note: did not try to update view_layer python tests, those are already
fully broken for quiet some time I guess (they still assume
view_layer.collections to be mutable e.g.)...

Commit Details:

Full Hash: 7b38df41ae8b2903eb65dc72e506ba0b0c58453d
Parent Commit: aa9912e
Lines Changed: +30, -39

4 Modified Paths:

/doc/python_api/examples/bpy.types.Object.py (+1, -1) (Diff)
/release/scripts/modules/bpy_extras/object_utils.py (+2, -8) (Diff)
/release/scripts/startup/bl_operators/clip.py (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+25, -28) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021