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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user