Rename any instance of scene layer or render layer in code with view layer
[blender.git] / source / blender / blenkernel / intern / DerivedMesh.c
index f5da88f57f3f356c293115f581deeb768654ea76..60d62b0b39d9e6d8de8d0fd58b87f58566392161 100644 (file)
@@ -2707,7 +2707,7 @@ static void editbmesh_build_data(
 static CustomDataMask object_get_datamask(const Scene *scene, Object *ob, bool *r_need_mapping)
 {
        /* TODO(sergey): Avoid this linear list lookup. */
-       SceneLayer *sl = BKE_scene_layer_context_active_PLACEHOLDER(scene);
+       ViewLayer *sl = BKE_view_layer_context_active_PLACEHOLDER(scene);
        Object *actob = sl->basact ? sl->basact->object : NULL;
        CustomDataMask mask = ob->customdata_mask;