diff options
author | Hans Goudey <h.goudey@me.com> | 2021-06-08 01:04:31 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-06-08 01:04:31 +0300 |
commit | b0ec1d27470133a5d59ba27d99fdd84d0c9e0528 (patch) | |
tree | 157a667ebbed527b4db1a0f78ce31213a1a66df2 | |
parent | 1ef33be2d4c98b9a2b43211c5306928f9809b6e2 (diff) |
Cleanup: Order return argument last
-rw-r--r-- | source/blender/blenkernel/intern/displist.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/displist.cc b/source/blender/blenkernel/intern/displist.cc index e501e0a2f45..8ab406a789e 100644 --- a/source/blender/blenkernel/intern/displist.cc +++ b/source/blender/blenkernel/intern/displist.cc @@ -869,9 +869,9 @@ static void curve_calc_modifiers_post(Depsgraph *depsgraph, const Scene *scene, Object *ob, ListBase *dispbase, - Mesh **r_final, const bool for_render, - const bool force_mesh_conversion) + const bool force_mesh_conversion, + Mesh **r_final) { const Curve *cu = (const Curve *)ob->data; @@ -1180,7 +1180,7 @@ static void displist_make_surf(Depsgraph *depsgraph, if (!for_orco) { BKE_nurbList_duplicate(&ob->runtime.curve_cache->deformed_nurbs, &nubase); curve_calc_modifiers_post( - depsgraph, scene, ob, dispbase, r_final, for_render, force_mesh_conversion); + depsgraph, scene, ob, dispbase, for_render, force_mesh_conversion, r_final); } BKE_nurbList_free(&nubase); @@ -1642,7 +1642,7 @@ static void do_makeDispListCurveTypes(Depsgraph *depsgraph, BKE_nurbList_duplicate(&ob->runtime.curve_cache->deformed_nurbs, &nubase); curve_calc_modifiers_post( - depsgraph, scene, ob, dispbase, r_final, for_render, force_mesh_conversion); + depsgraph, scene, ob, dispbase, for_render, force_mesh_conversion, r_final); } if (cu->flag & CU_DEFORM_FILL && !ob->runtime.data_eval) { |