Curve: Remove duplicated and confusing argument
[blender.git] / source / blender / blenkernel / intern / mesh_convert.c
index 3f4e504867c925158f74f87cd79f34bdaa29bd6b..fe8d053c1df1e68deff8194d7c8077a9602941ad 100644 (file)
@@ -1007,7 +1007,7 @@ Mesh *BKE_mesh_new_from_object(Depsgraph *depsgraph,
 
       /* get updated display list, and convert to a mesh */
       BKE_displist_make_curveTypes_forRender(
-          depsgraph, sce, tmpobj, &dispbase, &me_eval_final, false, render, NULL);
+          depsgraph, sce, tmpobj, &dispbase, &me_eval_final, false, NULL);
 
       copycu->editfont = NULL;
       copycu->editnurb = NULL;