Rename any instance of scene layer or render layer in code with view layer
[blender.git] / source / blender / editors / io / io_collada.c
index 9e79ca5b0e37efbce89a9fbcbeb9b57abb7ca473..fc227a2aa754159ac9f2c72010884fa6f71c43d9 100644 (file)
@@ -163,7 +163,7 @@ static int wm_collada_export_exec(bContext *C, wmOperator *op)
 
        export_count = collada_export(&eval_ctx,
                CTX_data_scene(C),
-               CTX_data_scene_layer(C),
+               CTX_data_view_layer(C),
                filepath,
                apply_modifiers,
                export_mesh_type,