Fix/cleanup RNA viewlayer API.
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 6 Nov 2018 16:20:49 +0000 (17:20 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 6 Nov 2018 16:20:49 +0000 (17:20 +0100)
commit7b38df41ae8b2903eb65dc72e506ba0b0c58453d
tree61b841a5f634a1b6806688c1fb4b563b92b7e99a
parentaa9912ec045e3209bc87c48801fd955c59bd0908
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.)...
doc/python_api/examples/bpy.types.Object.py
release/scripts/modules/bpy_extras/object_utils.py
release/scripts/startup/bl_operators/clip.py
source/blender/makesrna/intern/rna_layer.c