Rename any instance of scene layer or render layer in code with view layer
[blender.git] / source / blender / makesrna / intern / makesrna.c
index 6c6407789a0e9f37b4baf950de0e5cd178deb31f..8f07a6e22d9755e16f2201535133202bd450b015 100644 (file)
@@ -3336,7 +3336,7 @@ static RNAProcessItem PROCESS_ITEMS[] = {
        {"rna_key.c", NULL, RNA_def_key},
        {"rna_lamp.c", NULL, RNA_def_lamp},
        {"rna_lattice.c", "rna_lattice_api.c", RNA_def_lattice},
-       {"rna_layer.c", NULL, RNA_def_scene_layer},
+       {"rna_layer.c", NULL, RNA_def_view_layer},
        {"rna_linestyle.c", NULL, RNA_def_linestyle},
        {"rna_main.c", "rna_main_api.c", RNA_def_main},
        {"rna_material.c", "rna_material_api.c", RNA_def_material},