Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-11-15 20:01:57 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-11-22 12:13:33 +0300
commit8ba6103e66b0e8bcbe70e6ed8f91500fdc7df3ee (patch)
tree024497bcfb48a42b969471fcb96119f2dcc0e442 /source/blender/blenloader
parent0a6df6b173c5af2a38d2b808634adb2c6432ce3e (diff)
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.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_280.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index 32aa908fe86..fa48abaf61e 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -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;