SceneRenderLayer > SceneLayer: Convert Lay

There are parts of the old (Blender Internal) rendering pipeline that is still
using lay, e.g., in shi->lay.

Honestly it will be easier to purge the entire Blender Internal code away instead
of taking things from it bit by bit.
This commit is contained in:
Dalai Felinto
2017-11-15 15:01:57 -02:00
parent 0a6df6b173
commit 8ba6103e66
20 changed files with 33 additions and 66 deletions

View File

@@ -346,6 +346,14 @@ void do_versions_after_linking_280(Main *main)
true);
}
if ((srl->lay & (1 << layer)) == 0) {
BKE_override_layer_collection_boolean_add(
layer_collection_parent,
ID_OB,
"cycles_visibility.camera",
false);
}
LayerCollection *layer_collection_child;
layer_collection_child = layer_collection_parent->layer_collections.first;